Function sys_volume
#include <macaw.h>double sys_volume(double v);
Reads the volume of all sound in Macaw OS, and can change it. A change is for the whole system, until someone sets it in System Preferences or Macaw OS starts again.
Parameters
vdouble- The new volume, from 0 to 1. Any number below 0 leaves it as it is, so
sys_volume(-1)only reads it.
Returns double
The volume now, from 0 to 1.
In The system, with platform, ismac, modkey, memory, sys_version, sys_fps, sys_display, sys_screenshot, sys_title, sys_cursor, sys_clipboard, sys_setclipboard.