Bug 529642 - garbled sound using ALSA output
Summary: garbled sound using ALSA output
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: audacious-plugins
Version: rawhide
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Michael Schwendt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-19 09:55 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2010-01-08 01:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-19 10:56:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dominik 'Rathann' Mierzejewski 2009-10-19 09:55:37 UTC
Description of problem:
Audacious produces garbled sound using plain ALSA output. I ruled out a problem with the mp3 decoder from rpmfusion by playing a wav file. MPlayer plays the same files fine using -ao alsa. Severity high because this makes audacious unusable for me.

Version-Release number of selected component (if applicable):
audacious-plugins-2.1-4.fc12.x86_64
audacious-2.1-5.fc12.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Play anything using ALSA output plugin.
2.
3.
  
Actual results:
Garbled sound.

Expected results:
Clear sound.

Additional info:
This line is repeated often in ~/.xsession-errors while audacious is playing:
DEBUG: ALSA: alsa-core.c:233 (alsaplug_write_buffer): snd_pcm_writei error: Broken pipe

Comment 1 Michael Schwendt 2009-10-19 10:56:47 UTC

*** This bug has been marked as a duplicate of bug 524007 ***

Comment 2 Michael Schwendt 2009-10-21 11:30:43 UTC
* This build shall fix it for you, too:
  http://koji.fedoraproject.org/koji/taskinfo?taskID=1759042

* See bug 530049 for heavy distortion with pulse audio and volume < 100%.

Comment 3 Dominik 'Rathann' Mierzejewski 2009-10-21 15:03:39 UTC
Confirmed, thanks.

Comment 4 Dominik 'Rathann' Mierzejewski 2010-01-08 00:23:06 UTC
This is happening on F11 as well with:
$ rpm -q audacious audacious-plugins alsa-lib
audacious-1.5.1-11.fc11.x86_64
audacious-plugins-1.5.1-19.fc11.x86_64
alsa-lib-1.0.21-3.fc11.x86_64
although rarely (about once every hour) compared to F-12.

The message in .xsession-errors is:
DEBUG: ALSA: alsa-core.c:236 (alsaplug_write_buffer): snd_pcm_writei error: Broken pipe

The audible effect is as if the file (mp3 in this case) started to play as fast as possible (i.e. at decoding speed, not normal speed) until its end. When the playlist advances to the next file, playback is normal again.

Shall I file a separate bug for F11?

Comment 5 Michael Schwendt 2010-01-08 01:00:31 UTC
On F-11, that's something introduced with a kernel update around Sep/Oct last year. Instead of locking up playback, ALSA sort of skips through the audio sample buffers. I haven't planned to spend any time on that unless it could be fixed with a rather safe upgrade to a new Audacious version.


Note You need to log in before you can comment on or make changes to this bug.