Hi,
I am having some trouble setting hw.snd.default_unit to my first and seccond sound-device using php. Setting it via console works fine, but when using it in my php-script on the webserver it just prints the setting of hw.snd.default_unit.
This is the line that I use:
And that's what I get: hw.snd.default_unit:1
Any ideas? Searched the net and the forum already and found nothing.
Greg
I am having some trouble setting hw.snd.default_unit to my first and seccond sound-device using php. Setting it via console works fine, but when using it in my php-script on the webserver it just prints the setting of hw.snd.default_unit.
This is the line that I use:
Code:
$output=shell_exec("sysctl hw.snd.default_unit=1");
And that's what I get: hw.snd.default_unit:1
Any ideas? Searched the net and the forum already and found nothing.
Greg