Hi moebiussurfing,
I've used something like this:
string cmd = "osascript -e \"set Volume "+ofToString(new_volume)+"\"";
system(cmd.c_str());
cout << cmd.c_str() << "\n";
hope this helps!
Hi moebiussurfing,
I've used something like this:
string cmd = "osascript -e \"set Volume "+ofToString(new_volume)+"\"";
system(cmd.c_str());
cout << cmd.c_str() << "\n";
hope this helps!