Auto-set the system default audio driver

Francesco Canavese's icon

Hi all,
i need to build a simple audio app (both for win/mac) in which i can't include the audio preferences, but i must auto select the default system driver for the audio output.
is there a way to automatically select the system default audio driver? is there the possibility to "play through" the default audio driver as can do every media media player or something like that?
Any help will be very appreciated!

Roman Thilenius's icon

why cant you include these preferences? you´d just loadbang the data and you should be there.

Francesco Canavese's icon

Hi Roman,
my app should run on different computer (will be distributed as a learning tool to schools). So I guess that different computers will have different sound card names....

spectro's icon

DSP settings would (usually) be done via [adstatus], I suspect (but not certain) "adstatus driver" initially selects the default system audio driver (different for mac & pc) but this might not neccessarily be the active driver...