On Wednesday 14 January 2004 17:24, Valerian Vavro wrote:
> Hi people,
>
> I have alsa 1.0.0rc2, my problem is,that when I play video or audio
> file with mplayer, at first mplayer writes, that he can't open audio
> device /dev/dsp and then after 1 min it starts to play.The same is
> with timidity, it starts playing after aproximately 40-60 sec.
> This is what mplayer writes:
>
> Checking audio filter chain for 44100Hz/2ch/16bit ->
> 44100Hz/2ch/16bit...
> AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
> AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
> audio_setup: Can't open audio device /dev/dsp: Device or resource
> busy alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
> (Little-Endian)
> alsa-init: 1 soundcard found, using: hw:0,0
>
> and here after time delay it starts playing.
>
> Thanks Valus
I think /dev/dsp is used by a sounddaemon (esd or artsd) which times out
after some time. You can check with '/sbin/fuser /dev/dsp' . Mplayer
and xmms (with appropriate plugin) can use either sounddaemon.
HTH,
-Frans
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user