All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - lib 0000881]: Distorted sound with enabled dmix plugin
Date: Wed, 8 Jun 2005 22:13:23 +0200	[thread overview]
Message-ID: <fd07ccd9fc76c423d17e17e140615396@bugtrack.alsa-project.org> (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 22: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 21:27 
----------------------------------------------------------------------
8192 buffer size corresponds to less than 0.1 second in 88.4/96kHz.  So,
the probability of XRUN is fairly high, I guess.

And, yes, the rate plugin is another cause of trouble.  This requires
another transport layer which copies the data asynchronously.  But the
biggest problem of the current rate plugin is that the drift of the
interrupt timing and the period position in the rate plugin buffer.  Since
44.1 and 48 can't be aligned in integer, the real and virtual period sizes
conflict.  This result in the irregular period updates.

Unfortunately, the problem of rate plugin above is _very_ hard to fix
(because of the principal definition of ALSA PCM).

----------------------------------------------------------------------
 Xero - 06-08-05 22:13 
----------------------------------------------------------------------
As per advice from the bug on xmms I'm going to try the crossfade plugin to
do some resampling. It only supports 44100 and 48000 but I'm guessing that
with 48000 and 96000 set on dmix this wont happen...only time will tell
however.

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                          
06-08-05 21:27 tiwai          Note Added: 0004974                          
06-08-05 22:13 Xero           Note Added: 0004975                          
======================================================================




-------------------------------------------------------
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

             reply	other threads:[~2005-06-08 20:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08 20:13 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-06-09  2:57 [ALSA - lib 0000881]: Distorted sound with enabled dmix plugin bugtrack
2005-06-08 19:27 bugtrack
2005-06-08 19:13 bugtrack
2005-06-08 14:08 bugtrack
2005-06-03  5:40 bugtrack
2005-05-29  6:29 bugtrack
2005-05-29  6:23 bugtrack
2005-04-04 14:15 bugtrack
2005-03-29 14:21 bugtrack
2005-03-25 13:56 bugtrack
2005-03-23 19:46 bugtrack
2005-03-11 15:17 bugtrack
2005-03-11 12:06 bugtrack
2005-02-28 14:26 bugtrack
2005-02-28 14:22 bugtrack
2005-02-28 14:00 bugtrack
2005-02-25  9:36 bugtrack
2005-02-24 21:09 bugtrack
2005-02-23 18:33 bugtrack
2005-02-23 18:24 bugtrack
2005-02-23 18:23 bugtrack
2005-02-23 12:35 bugtrack
2005-02-04 14:36 bugtrack
2005-02-04 14:30 bugtrack
2005-02-04 13:53 bugtrack
2005-02-04  9:39 bugtrack
2005-02-03 11:25 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fd07ccd9fc76c423d17e17e140615396@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.