i-rinat / apulse

PulseAudio emulation for ALSA
MIT License
609 stars 35 forks source link

"handle" SND_PCM_STATE_PRIVATE1 #89

Closed jolange closed 6 years ago

jolange commented 6 years ago

This library-private PCM state used internally only (see https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#ga61ac499cb3701ce536d4d83725908860).

This avoids the compiler warning "enumeration value ‘SND_PCM_STATE_PRIVATE1’ not handled in switch [-Wswitch]" (gcc (GCC) 8.1.1 20180531)

Edit BTW I just saw that this was reported already: Fixes #88

jolange commented 6 years ago

Updated

i-rinat commented 6 years ago

Merged. Thanks!