[ALTSP] Звук
Eugene Prokopiev
enp at altlinux.org
Fri Dec 28 13:03:26 MSK 2007
> > > $ mplayer -ao pulse file.mp3.
> >
> > А -ao alsa?
>
> Да и так и так играет - только что ещё раз проверил с той же версией mplayer.
> При двух условиях: 1) не лазить "шаловливыми ручками" без осознания того ЧТО
> делаешь, 2) звуковой адаптер нормально поддерживается модулями из пакета
> kernel-modules-alsa-*.
Который? На клиенте, я надеюсь? ;) Не сервере, к сожалению, звукового
адаптера не предусмотрено.
Поставил на сервер ltsp5-server-light, перегрузил терминал. Наблюдаю:
[enp at br-desktop ~]$ env | grep PULSE
PULSE_SERVER=ebr-1.br.stc.donpac.ru:4713
LTSP_AUDIO_SERVER=PULSEAUDIO
[enp at br-desktop ~]$ env | grep AUDIO
LTSP_AUDIO_PORT=4713
LTSP_AUDIO_SERVER=PULSEAUDIO
[enp at br-desktop ~]$ mplayer -ao pulse 01_dont_blame_me.mp3
MPlayer dev-SVN-r23722-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 5)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
112 audio & 237 video codecs
Playing 01_dont_blame_me.mp3.
Cache fill: 0,00% (0 bytes)
Audio file file format detected.
==========================================================================
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)
==========================================================================
shm.c: shm_open() failed: ####### ## ###########
mplayer: pulsecore/pstream.c:221: pa_pstream_new: ###########
########### `pool' ## #########.
MPlayer interrupted by signal 6 in module: ao2_init
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
[enp at br-desktop ~]$ mplayer -ao alsa 01_dont_blame_me.mp3
MPlayer dev-SVN-r23722-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 5)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
112 audio & 237 video codecs
Playing 01_dont_blame_me.mp3.
Cache fill: 9,18% (770048 bytes)
Audio file file format detected.
==========================================================================
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)
==========================================================================
shm.c: shm_open() failed: ####### ## ###########
mplayer: pulsecore/pstream.c:221: pa_pstream_new: ###########
########### `pool' ## #########.
MPlayer interrupted by signal 6 in module: ao2_init
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
--
С уважением,
Прокопьев Евгений
More information about the Ltsp-server
mailing list