This requires that the code be run with sudo. When I do that, it outputs the sound via the internal sound card which I don't want. Is there a way to make my usb soundcard the default for both the main user and for root? Or, is it possible to make this not require root to run?
Code: Select all
GPIO io; if (!io.Init()) return 1;
Thanks for any input!