summaryrefslogtreecommitdiff
path: root/emulators/qemu/patches/patch-qapi_audio_json
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/patches/patch-qapi_audio_json')
-rw-r--r--emulators/qemu/patches/patch-qapi_audio_json50
1 files changed, 50 insertions, 0 deletions
diff --git a/emulators/qemu/patches/patch-qapi_audio_json b/emulators/qemu/patches/patch-qapi_audio_json
new file mode 100644
index 0000000..cccb078
--- /dev/null
+++ b/emulators/qemu/patches/patch-qapi_audio_json
@@ -0,0 +1,50 @@
1sndio module
2
3Index: qapi/audio.json
4--- qapi/audio.json.orig
5+++ qapi/audio.json
6@@ -107,6 +107,28 @@
7 '*threshold': 'uint32' } }
8
9 ##
10+# @AudiodevSndioOptions:
11+#
12+# Options of the sndio audio backend.
13+#
14+# @in: options of the capture stream
15+#
16+# @out: options of the playback stream
17+#
18+# @dev: the name of the sndio device to use (default 'default')
19+#
20+# @latency: play buffer size (in microseconds)
21+#
22+# Since: 7.2
23+##
24+{ 'struct': 'AudiodevSndioOptions',
25+ 'data': {
26+ '*in': 'AudiodevPerDirectionOptions',
27+ '*out': 'AudiodevPerDirectionOptions',
28+ '*dev': 'str',
29+ '*latency': 'uint32'} }
30+
31+##
32 # @AudiodevCoreaudioPerDirectionOptions:
33 #
34 # Options of the Core Audio backend that are used for both playback and
35@@ -387,7 +409,7 @@
36 ##
37 { 'enum': 'AudiodevDriver',
38 'data': [ 'none', 'alsa', 'coreaudio', 'dbus', 'dsound', 'jack', 'oss', 'pa',
39- 'sdl', 'spice', 'wav' ] }
40+ 'sdl', 'sndio', 'spice', 'wav' ] }
41
42 ##
43 # @Audiodev:
44@@ -418,5 +440,6 @@
45 'oss': 'AudiodevOssOptions',
46 'pa': 'AudiodevPaOptions',
47 'sdl': 'AudiodevSdlOptions',
48+ 'sndio': 'AudiodevSndioOptions',
49 'spice': 'AudiodevGenericOptions',
50 'wav': 'AudiodevWavOptions' } }