From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert Rozman" Subject: Problems with SI7012 on simulated 3 stereo channels and dmix Date: Sat, 26 Jun 2004 18:51:14 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <040601c45b9e$07ae4b80$6500a8c0@Lapitopi> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, I'm trying for over a month to get dmix working on 3 separate stereo channels on SI7012 device but no success. I just get scrambled sound when two apps (with same or different sample rate) are trying to access same device (plug:a, b or c for example). I'm attaching my asound.conf. On dmixer device everything works ok, but when I try to run two instances of Alsaplayer on plug:a device I get scrambled sound as long as instances are running - if I stop one of them - sound gets OK. This all happens also of two different sample rate files are palyed on same device. Since I'm newbie to asoundrc magic, I kindly ask for any guidance - I'd love to get this working... Regards, Robert ----------------------------asound.conf------------------------------------- pcm_slave.sis { pcm "hw:0" channels 6 rate 48000 buffer_size 4096 # make these sizes smaller for lower latency period_size 2048 periods 0 period_time 0 } pcm.ch12 { type dmix ipc_key 47110815 slave sis bindings.0 0 bindings.1 1 } pcm.ch34 { type dmix ipc_key 47110815 slave sis bindings.0 2 bindings.1 3 } pcm.ch56 { type dmix ipc_key 47110815 slave sis bindings.0 4 bindings.1 5 } pcm.a { type plug slave.pcm ch12 } pcm.b { type plug slave.pcm ch34 } pcm.c { type plug slave.pcm ch56 } pcm.dsp0 { type plug slave.pcm "dmixer" } pcm.dmixer { type dmix ipc_key 1024 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 8192 #periods 128 rate 44100 } bindings { 0 0 1 1 } } ctl.mixer0 { type hw card 0 } ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com