Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Adjusting system volume using OF

$
0
0

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!


Viewing all articles
Browse latest Browse all 40524

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>