Re: [Qemu-devel] [RFC PATCH] qapi for audio backends

2015-06-04 Thread Gerd Hoffmann
Hi, +## +# @AudiodevAlsaPerDirectionOptions +# +# Options of the alsa backend that are used for both playback and recording. +# +# @dev: #optional the name of the alsa device to use. +# +# @period_size_usec: #optional the period size in microseconds. Must not be +#

Re: [Qemu-devel] [RFC PATCH] qapi for audio backends

2015-06-04 Thread Kővágó Zoltán
2015-06-04 09:43 keltezéssel, Gerd Hoffmann írta: +# +# @mmap: #optional try using memory mapped access IIRC this doesn't work everywhere, especially when the oss api is implemented as library. Linux had that, but on linux everybody uses alsa these days ... Dunno about other platforms. idk,

Re: [Qemu-devel] [RFC PATCH] qapi for audio backends

2015-06-03 Thread Eric Blake
On 06/03/2015 10:48 AM, Kővágó, Zoltán wrote: This is a proposal to add structures into qapi-schema.json to replace the existing configuration structures used by audio backends currently. I'm going to use it to implement a new way to specify audio backend options (an -audiodev command line

Re: [Qemu-devel] [RFC PATCH] qapi for audio backends

2015-06-03 Thread Kővágó Zoltán
2015-06-03 21:17 keltezéssel, Eric Blake írta: On 06/03/2015 10:48 AM, Kővágó, Zoltán wrote: This is a proposal to add structures into qapi-schema.json to replace the existing configuration structures used by audio backends currently. I'm going to use it to implement a new way to specify audio

[Qemu-devel] [RFC PATCH] qapi for audio backends

2015-06-03 Thread Kővágó, Zoltán
This is a proposal to add structures into qapi-schema.json to replace the existing configuration structures used by audio backends currently. I'm going to use it to implement a new way to specify audio backend options (an -audiodev command line option, instead of environment variables. This will