Skip to contentSkip to conversation

: Distorted sound with enabled dmix plugin

ALSA - lib 0000881 [email protected] 1 participant 1 message Jun 8, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=881>
======================================================================
Reported By: yure
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   881
Category:                   1_pcm - digital audio
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-03-2005 12:25 CET
Last Modified:              06-08-2005 21:13 CEST

======================================================================
Summary: Distorted sound with enabled dmix plugin
Description:
After 10-20 minutes listening music with xmms or beep-media-player I hear distorted sound. Appear noise.
This problem is appear when enabled dmix plugin through configuration file ~/.asoundrc.
======================================================================

----------------------------------------------------------------------
tiwai - 06-08-05 16:08
----------------------------------------------------------------------
I guess it's rather a problem with a specific driver. The dmix is very sensitive to the accuracy of DMA pointer. If the driver returns a wrong DMA pointer, it may result in noises.

Also, for 96kHz, you'd need much bigger buffer and period sizes than 48k. Otherwise usual xruns can happen. I suspect xruns rather the existing dmix bugs...

----------------------------------------------------------------------
Xero - 06-08-05 21:13
----------------------------------------------------------------------
how much bigger is much bigger? I'm running at the standard 1024/8192 for period/buffer size. If that really is the problem then it's still odd that this would happen at 96000 but not 88200, which is why I think it's more related to sample rate conversion...I've attached my config file at 96000 for reference. When in 88200 the only change is just that, 88200 instead of 96000 in the rate section.

Issue History
Date Modified Username Field Change
======================================================================

02-03-05 12:25 yure           New Issue                                    
02-04-05 10:39 yure           Note Added: 0003497                          
02-04-05 10:39 yure           Issue Monitored: yure                        
02-04-05 14:53 tiwai          Note Added: 0003506                          
02-04-05 15:30 yure           Note Added: 0003508                          
02-04-05 15:36 yure           Note Added: 0003509                          
02-23-05 13:35 yure           Note Added: 0003711                          
02-23-05 19:23 tiwai          Note Added: 0003713                          
02-23-05 19:23 tiwai          File Added: pcm-silent-fix.diff                   
02-23-05 19:24 tiwai          Note Added: 0003714                          
02-23-05 19:33 tiwai          Note Added: 0003715                          
02-24-05 22:09 tiwai          Note Added: 0003729                          
02-24-05 22:09 tiwai          File Added: bmp-0.9.7-alsa-fixes.patch            
02-25-05 10:36 yure           Note Added: 0003732                          
02-28-05 15:00 tvignaud       Note Added: 0003744                          
02-28-05 15:22 yure           Note Added: 0003745                          
02-28-05 15:26 warly          Note Added: 0003746                          
03-11-05 13:06 tvignaud       Note Added: 0003887                          
03-11-05 16:17 tiwai          Note Added: 0003891                          
03-23-05 20:46 tiwai          Note Added: 0004187                          
03-23-05 20:47 tiwai          File Added: dmix-slowptr.diff                    
03-25-05 14:56 tvignaud       Note Added: 0004206                          
03-29-05 16:21 tiwai          Note Added: 0004246                          
04-04-05 16:15 yure           Note Added: 0004327                          
04-29-05 09:07 mandreiana     Issue Monitored: mandreiana                    
05-29-05 08:23 Xero           Note Added: 0004781                          
05-29-05 08:29 Xero           Note Added: 0004782                          
06-03-05 07:40 Xero           Note Added: 0004882                          
06-08-05 16:08 tiwai          Note Added: 0004944                          
06-08-05 21:13 Xero           Note Added: 0004973                          

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20