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

Re: xine was unable to initialize any audio drivers (in sid)



Kelly Clowers wrote:
On Sat, Apr 11, 2009 at 22:45, niclas w <niclaswmail@gmail.com> wrote:
  
'xine was unable to initialize any audio drivers'
error message when starting amarik.
No sound when using amarok(or any other player).
But I hear the startup and shutdown jingle...

Any ideas whats wrong or how to find whats wrong?

Using SID.
    
Do you use PulseAudio or ALSA or what?

If you invoke mplayer on a sound file from the command line,
does it work and what does it say about the audio driver? It
will be something like:
AO: [pulse]
or
AO: [alsa]


Cheers,
Kelly Clowers


  
I am 'trying' to use ALSA.

Result of mplayer and lsof:

nw@d-black:~$ mplayer yg.mp3
MPlayer SVN-r29142-4.3.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing yg.mp3.
Audio only file format detected.
Clip info:
 Title: Young girl
 Artist:
 Album: music_other
 Year: 0
 Comment:
 Genre: Unknown
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
[AO_ALSA] alsa-lib: pcm_hw.c:1321:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resourcebusy
[AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: Device or resource busy
[AO ESD] esd_open_sound failed: Connection timed out
[pulse] working around probably broken pause functionality,
        see http://www.pulseaudio.org/ticket/440
AO: [pulse] Init failed: Connection refused
[JACK] cannot open server
ao_nas: init(): Can't open nas audio server -> nosound
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: pcm_hw.c:1321:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resourcebusy
[AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
[AO SDL] Unable to open audio: No available audio device
[AO_ALSA] alsa-lib: pcm_hw.c:1321:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resourcebusy
[AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] alsa-lib: pcm_hw.c:1321:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resourcebusy
[AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
AL lib: alsa.c:344: Could not open playback device 'default': Device or resource busy
AL lib: oss.c:179: Could not open /dev/dsp: Device or resource busy
[OpenAL] could not open device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   2.9 (02.8) of 193.0 (03:13.0)  0.6%

MPlayer interrupted by signal 2 in module: play_audio
A:   2.9 (02.8) of 193.0 (03:13.0)  0.6%
Exiting... (Quit)

nw@d-black:~$ lsof /dev/snd/*
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
kmix    4314   nw   10u   CHR  116,0      0t0 6652 /dev/snd/controlC0
nw@d-black:~$

Reply to: