Re: sound: -EPERM on first mplayer invocation

From: Clemens Ladisch
Date: Wed Aug 05 2009 - 04:59:07 EST


Takashi Iwai wrote:
> I wrote:
> > The file instances are different. It implies that mplayer opens the
> > device at each time but doesn't close.
> > It sounds like a bug in mplayer to me.
>
> ... or the first control handle keeps opened and blocks it.

mplayer indeed leaks the mixer handle. This happens if setting the
volume fails, i.e., _after_ this message:
> > > > > > > alsa-control: error setting left channel, Operation not permitted


Best regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/