qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Kővágó Zoltán
Subject: Re: [Qemu-devel] [RFC PATCH] qapi for audio backends
Date: Thu, 04 Jun 2015 15:33:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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, the code tries to mmap first, and if it fails, falls back to non mmapped access. But something is broken there, as with QEMU_OSS_MMAP=1 it fails (on linux with alsa oss emulation with pulseaudio alsa emulation...). But it ought to work on linux, according to the comments. Maybe it needs the native oss, and not the alsa emulation.


+# @exclusive: #optional open device in exclusive mode (vmix wont work)

+# @dsp_policy: #optional set the timing policy of the device, -1 to use 
fragment
+#              mode (option ignored on some platforms)

Would be interesting to know on which platforms this actually has an
effect (both options) ...

From a quick google it looks like whatever platform that have oss4 (the dsp_policy). exclusive just adds O_EXCL to open flags.


IIRC 'vmix' was a feature of the commercial, ossaudio driver package.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]