Opened 13 years ago

Closed 13 years ago

Last modified 13 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: Analyzed by developer:

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 Changed 13 years ago by clemens@…

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 Changed 13 years ago by spielc@…

(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 Changed 13 years ago by joy@…

(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 Changed 13 years ago by spielc@…

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 13 years ago by spielc@…

  • Summary changed from alsa-plugin messed up to [SOLVED] alsa-plugin messed up

comment:6 Changed 13 years ago by reimar

-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 Changed 13 years ago by diego@…

  • Component changed from ao-plugins to ao
Note: See TracTickets for help on using tickets.