diff options
Diffstat (limited to 'emulators/qemu/patches/patch-audio_audio_template_h')
| -rw-r--r-- | emulators/qemu/patches/patch-audio_audio_template_h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/qemu/patches/patch-audio_audio_template_h b/emulators/qemu/patches/patch-audio_audio_template_h new file mode 100644 index 0000000..97fd008 --- /dev/null +++ b/emulators/qemu/patches/patch-audio_audio_template_h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | sndio module | ||
| 2 | |||
| 3 | Index: audio/audio_template.h | ||
| 4 | --- audio/audio_template.h.orig | ||
| 5 | +++ audio/audio_template.h | ||
| 6 | @@ -336,6 +336,8 @@ AudiodevPerDirectionOptions *glue(audio_get_pdo_, TYPE | ||
| 7 | return qapi_AudiodevPaPerDirectionOptions_base(dev->u.pa.TYPE); | ||
| 8 | case AUDIODEV_DRIVER_SDL: | ||
| 9 | return qapi_AudiodevSdlPerDirectionOptions_base(dev->u.sdl.TYPE); | ||
| 10 | + case AUDIODEV_DRIVER_SNDIO: | ||
| 11 | + return dev->u.sndio.TYPE; | ||
| 12 | case AUDIODEV_DRIVER_SPICE: | ||
| 13 | return dev->u.spice.TYPE; | ||
| 14 | case AUDIODEV_DRIVER_WAV: | ||
