* Problems with SI7012 on simulated 3 stereo channels and dmix
@ 2004-06-26 16:51 Robert Rozman
2004-06-27 21:07 ` Robert Rozman
0 siblings, 1 reply; 2+ messages in thread
From: Robert Rozman @ 2004-06-26 16:51 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problems with SI7012 on simulated 3 stereo channels and dmix
2004-06-26 16:51 Problems with SI7012 on simulated 3 stereo channels and dmix Robert Rozman
@ 2004-06-27 21:07 ` Robert Rozman
0 siblings, 0 replies; 2+ messages in thread
From: Robert Rozman @ 2004-06-27 21:07 UTC (permalink / raw)
To: alsa-devel
Hi,
I'd kindly ask also for another answer:
- why aplay doesn't play on "plug:a", b or c in system with attached
asoundrc ? It just sits there doing nothing - using -vvv doesn't help either
to spit out more info about problem...
Thanks ,
Robert.
----- Original Message -----
From: "Robert Rozman" <rozman@fri.uni-lj.si>
To: <alsa-devel@lists.sourceforge.net>
Sent: Saturday, June 26, 2004 6:51 PM
Subject: [Alsa-devel] Problems with SI7012 on simulated 3 stereo channels
and dmix
> 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
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-27 21:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-26 16:51 Problems with SI7012 on simulated 3 stereo channels and dmix Robert Rozman
2004-06-27 21:07 ` Robert Rozman
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.