Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001015]: Static when not playing through the OSS Emulation
Date: Sat, 26 Mar 2005 00:50:52 +0100	[thread overview]
Message-ID: <f6a2a422975bcd8a415dfd032d80cad6@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1015> 
======================================================================
Reported By:                wintermute77
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1015
Category:                   PCI - ice1724
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Gentoo
Kernel Version:              2.6.10-ck5
======================================================================
Date Submitted:             03-25-2005 04:00 CET
Last Modified:              03-26-2005 00:50 CET
======================================================================
Summary:                    Static when not playing through the OSS Emulation
Description: 
I get crackling static coming in when sound is being output to my speakers
(not when there is nothing playing) using the ice1724 driver with my
M-Audio Revolution 7.2.  The problem appears to go away if I use OSS
emulation, but of course this isn't desirable since I cannot use dmix in
this case.

I am using xmms and mplayer to produce the badness.
======================================================================

----------------------------------------------------------------------
 wintermute77 - 03-26-05 00:09 
----------------------------------------------------------------------
I'm not sure how to disable dmix explicitly...

----------------------------------------------------------------------
 wintermute77 - 03-26-05 00:50 
----------------------------------------------------------------------
I appear to have resolved my problem.  

I upgraded to 2.6.11-ck2 (which I think had a newer alsa in the kernel)
and used the following dmix configuration, and it worked flawlessly (so
far):

/etc/asound.conf

pcm.ossmix {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 4096 # buffer size < 6653, but pow(x, 2)
        rate 44100       # we want to play CDs only
    }
    bindings {
        0 0
        1 1
    }
}
# Everything shall be dmixed, so redefine "default":
pcm.!default {
    type plug
    slave.pcm "ossmix"
}
# OSS via aoss should d(mix)stroyed:
pcm.dsp0 {    type plug
    slave.pcm "ossmix"
}
ctl.mixer0 {
    type hw
    card 0
}

Issue History
Date Modified  Username       Field                    Change              
======================================================================
03-25-05 04:00 wintermute77   New Issue                                    
03-25-05 04:00 wintermute77   Distribution              => Gentoo          
03-25-05 04:00 wintermute77   Kernel Version            =>  2.6.10-ck5     
03-25-05 14:57 daspooky       Note Added: 0004207                          
03-25-05 14:58 daspooky       Note Edited: 0004207                         
03-26-05 00:09 wintermute77   Note Added: 0004214                          
03-26-05 00:50 wintermute77   Note Added: 0004215                          
======================================================================




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

             reply	other threads:[~2005-03-25 23:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25 23:50 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-12-30  4:20 [ALSA - driver 0001015]: Static when not playing through the OSS Emulation bugtrack
2005-03-25 23:52 bugtrack
2005-03-25 23:09 bugtrack
2005-03-25 13:57 bugtrack
2005-03-25  3:00 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=f6a2a422975bcd8a415dfd032d80cad6@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox