Hello,

I'm trying to set up my M-Audio Delta 66 using the alsa drivers (ice1712) to 
enable it to play back from more than one sound source at the same time, 
mainly for playback via XMMS whilst still hearing sound notifications on the 
PSI jabber client.

I'm running Debian unstable, with kernel 2.6.5, and the alsa and ice1712 
drivers are compiled as modules, i have enabled;

Advanced Linux Sound Architecture
Sequencer Support
    Sequencer Dummy Client
OSS Mixer API
OSS PCM (digital audio) API
OSS Sequencer API
RTC Timer Support
PCI Devices
    ICEnsemble ICE1712 (Envy24)

My modprobe.conf options are as follows;

alias char-major-116 snd
alias char-major-14 soundcore
options snd major=116 cards_limit=4
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/dsp* snd-pcm-oss
alias snd-card-0 snd-ice1712
alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0

Previously, before following various documentation on http://alsa.opensrc.org, 
i was running without an ~/.asoundrc, which worked fine except only one 
application could access the soundcard at any one time, so i reluctantly 
tried arts but ran into various problems (including instability) and the 
constant need to disable it for various apps and of course for actual 
recording. So i looked into running dmix, which appeared to achieve all of my 
goals, except from the offending problem, the loud crackle on playback. This 
is my ~/.asoundrc;

pcm.dmixer {
     type dmix
     ipc_key 1024
     slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 4096
        rate 44100
    }
    bindings.0 0
    bindings.1 1
}

pcm.!default {
    type plug
    slave.pcm "dmixer"
}

Please note the buffer size is less than 6553. I have tried increasing the 
buffer size (in powers of 2) and likewise the period time and size, but to no 
avail. The crackle is also evident on other software, such as xine. I have 
changed the sound player in PSI from play to dplay to ensure i'm using an 
alsa compatible program, and i can happily say that in this scenario, apart 
from the crackle, i am able playback from more than one source at the same 
time.

Any help would be greatly appreciated! I hope i have provided enough 
information.

Many thanks,

Dan Halson


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to