mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 18:55:38 +00:00
ALSA: look for the control file rather than pcm files
This commit is contained in:
parent
5ce24c5382
commit
2d8f8e7f31
|
@ -794,10 +794,7 @@ static void device_thread_run(void *arg) {
|
|||
continue;
|
||||
if (!event->len || event->len < 8)
|
||||
continue;
|
||||
if (event->name[0] != 'p' ||
|
||||
event->name[1] != 'c' ||
|
||||
event->name[2] != 'm')
|
||||
{
|
||||
if (strncmp(event->name, "controlC", 8) != 0) {
|
||||
continue;
|
||||
}
|
||||
if (event->mask & IN_CREATE) {
|
||||
|
|
Loading…
Reference in a new issue