Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#457 closed defect (fixed)

[SOLVED] alsa-plugin messed up

Reported by: spielc@… Owned by: alex@…
Priority: normal Component: ao
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I just upgraded to the following version of MPlayer dev-CVS-060217-11:46-4.0.2.

I tried to play a dvd and everything seemed to be fine but when i stopped
playback and tried another (non DVD) video file alsa-play kept giving the
following output:

alsa-play: write error: Broken pipe2.390 584/584 1% 4% 1.1% 581 0
alsa-play: trying to reset soundcard

Alsa in general works fine on my machine (i use xmms with alsa output and it
works perfectly) and the last version of mplayer i had installed, didn't
complain about anything using alsa-output so i guess there is a bug in the newer
code.

For a workaround I'm using the sdl-audio output plugin and everything works fine
again.

Change History (7)

comment:1 by clemens@…, 18 years ago

What sound card are you using? (see /proc/asound/cards)
What sample rate does the file use?
Any error messages in the system log?
Does it work with "-ao alsa:device=plughw"?

comment:2 by spielc@…, 18 years ago

(In reply to comment #1)

What sound card are you using? (see /proc/asound/cards)

0 [nForce3 ]: NFORCE - NVidia nForce3

NVidia nForce3 with ALC650F at 0xe8001000, irq 193

Thus i use the intel8x0-driver

What sample rate does the file use?

Öffne Audiodecoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Ausgewählter Audiocodec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)

Any error messages in the system log?

dmesg shows nothing

Does it work with "-ao alsa:device=plughw"?

Yup that is working... Question what is it doing?

comment:3 by joy@…, 18 years ago

(In reply to comment #2)

Does it work with "-ao alsa:device=plughw"?

Yup that is working... Question what is it doing?

it resamples automatically to the supported samplerate of your soundcard.
setting plughw as defaultdevice would resolve this issue.

comment:4 by spielc@…, 18 years ago

Resolution: fixed
Status: newclosed

comment:5 by spielc@…, 18 years ago

Summary: alsa-plugin messed up[SOLVED] alsa-plugin messed up

comment:6 by reimar, 18 years ago

-srate 48000
or
-srate 44100
might work in that case as well (and is probably a bit faster).
Though the real question is: Why doesn't MPlayer recognize that e.g. 44100 is
not supported by the hardware??

comment:7 by diego@…, 18 years ago

Component: ao-pluginsao
Note: See TracTickets for help on using tickets.