Удалил пакет pulseaudio с опцией purge.
После этого проверяю, есть ли звук в mplayer. Проигрывание не работает. Ошибка:
$ mplayer 09_Lapdance_paul_oakenfold_swordfish_mix_nerd.mp3
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Playing 09_Lapdance_paul_oakenfold_swordfish_mix_nerd.mp3.
Detected file format: MP2/3 (MPEG audio layer 2/3) (libavformat)
[mp3 @ 0xb62323a0]max_analyze_duration 5000000 reached
[mp3 @ 0xb62323a0]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: audio (mp3), -aid 0
Clip info:
title: Lapdance_paul_oakenfold
Selected audio codec: MPEG 1.0/2.0/2.5 layers I, II, III [mpg123]
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Строка «AO: [pulse] Init failed: Connection refused» меня очень беспокоит...
Вот что говорит VLC при попытке проигрывания MP3:
$ vlc 01.\ \[Der\ Tanz\ der\ Schatten\ \(Club\ Mix\)\].mp3
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
[08e83980] pulse audio output error: PulseAudio server connection failure: Connection refused
[08cde8f8] core libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: Нет такого файла или каталога
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: Нет такого файла или каталога
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: Нет такого файла или каталога
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
[08e83980] alsa audio output error: cannot open ALSA device "default": Нет такого файла или каталога
[08e83980] core audio output error: module not functional
[08d05b88] core decoder error: failed to create audio output
Вывести звук не удалось:
Аудиоустройство «default» использовать нельзя:
Нет такого файла или каталога.
Похоже, что где-то остались настройки от PulseAudio.
Вот всякие диагностики (Карточка E-MU Tracker PRE USB):
$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 008 Device 002: ID 1241:1177 Belkin F8E842-DL Mouse
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 041e:3f0a Creative Technology, Ltd
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ ls /dev/snd
by-id by-path controlC1 pcmC1D0c pcmC1D0p seq timer
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: USB [E-MU Tracker Pre | USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=USB
E-MU Tracker Pre
Default Audio Device
sysdefault:CARD=USB
E-MU Tracker Pre
Default Audio Device
front:CARD=USB,DEV=0
E-MU Tracker Pre
Front speakers
surround21:CARD=USB,DEV=0
E-MU Tracker Pre
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=USB,DEV=0
E-MU Tracker Pre
4.0 Surround output to Front and Rear speakers
surround41:CARD=USB,DEV=0
E-MU Tracker Pre
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=USB,DEV=0
E-MU Tracker Pre
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=USB,DEV=0
E-MU Tracker Pre
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=USB,DEV=0
E-MU Tracker Pre
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=USB,DEV=0
E-MU Tracker Pre
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=USB,DEV=0
E-MU Tracker Pre
Direct sample mixing device
dsnoop:CARD=USB,DEV=0
E-MU Tracker Pre
Direct sample snooping device
hw:CARD=USB,DEV=0
E-MU Tracker Pre
Direct hardware device without any conversions
plughw:CARD=USB,DEV=0
E-MU Tracker Pre
Hardware device with all software conversions
Вот тут видно, что есть строка pulse. Но как ее убрать и где не знаю.