[MPlayer-dev-eng] ALSA non-blocking mode

Ingo Brückl ib at wupperonline.de
Sat Mar 17 16:52:00 CET 2012


I wrote on Thu, 16 Feb 2012 19:49:05 +0100:

> Reimar Döffinger wrote on Mon, 13 Feb 2012 20:07:58 +0100:

>> On Mon, Feb 13, 2012 at 02:28:53PM +0100, Ingo Brückl wrote:
>>> Just curious: What is non-blocking mode and why is the device opened with
>>> regard to the "block" suboption of the alsa driver (ao_alsa.c, line 466)
>>> and set to blocking mode right afterwards (line 480)?

>> I guess it could be that there are ALSA devices/versions that cannot
>> work in blocking mode (which with the current code would just result
>> in a warning but possibly would not fail),

> Well, in that case we could improve at least the messages that tell about
> the mode (patch #1).

>> but most likely nobody though to or all were too lazy to clean up the code.
>> If you want feel free to throw away all the code related to non-blocking
>> and see what happens.

> In that case patch #2 should be applied. I didn't notice any problems while
> testing it with my ALSA devices/version.

I know it's not that important, but ... ping?

Ingo


More information about the MPlayer-dev-eng mailing list