* Bug in sis7012 driver - or probably I'm doing something wrong ?
@ 2004-04-04 19:54 Robert Rozman
2004-04-06 7:44 ` Clemens Ladisch
0 siblings, 1 reply; 3+ messages in thread
From: Robert Rozman @ 2004-04-04 19:54 UTC (permalink / raw)
To: alsa-devel
Hi,
I have Asus pundit with sis7012 sound device and alsa 1.0.4 under Suse 9.0.
I've got advice how to use this 6 channel device as 3 stereo channels but
there seems something not to be right (it could be my mistake).
I have /etc/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.dmixerALL {
type dmix
ipc_key 47110815
slave sis
bindings.0 0
bindings.1 1
bindings.2 2
bindings.3 3
bindings.4 4
bindings.5 5
}
pcm.channelALL {
type plug
slave.pcm "dmixerALL"
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
}
-----------------------------------------
Now I do:
- alsaplayer with mp3 file on device plug:a
- aplay -D plug:ch12 (funny is that plug:a doesn't work)
- everything is ok and mixed properly
- but if I start another alsaplayer on plug:b (probably also plug:c would be
the same), then aplay produces sound that is "interleaved" in short chunks
and also sound from alsaplayer on plug:b is also heard in addition to
original mp3 and aplay sound.
Am I doing something worng or is this somkind of bug or limitation of alsa
driver ?
Thanks in advance,
Robert.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in sis7012 driver - or probably I'm doing something wrong ?
2004-04-04 19:54 Robert Rozman
@ 2004-04-06 7:44 ` Clemens Ladisch
0 siblings, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2004-04-06 7:44 UTC (permalink / raw)
To: Robert Rozman; +Cc: alsa-devel
Robert Rozman wrote:
> I've got advice how to use this 6 channel device as 3 stereo channels but
> there seems something not to be right (it could be my mistake).
>
> I have /etc/asound.conf :
>
> pcm.a {
> type plug
> slave.pcm ch12
> }
>
> pcm.b {
> type plug
> slave.pcm ch34
> }
>
> Now I do:
>
> - alsaplayer with mp3 file on device plug:a
"a" is already defined as a plug plugin on top of "ch12", it's exactly
the same as "plug:ch12". Adding another plug layer ("plug:plug:ch12")
wouldn't make much sense.
> - aplay -D plug:ch12 (funny is that plug:a doesn't work)
> - everything is ok and mixed properly
>
> - but if I start another alsaplayer on plug:b (probably also plug:c would be
> the same), then aplay produces sound that is "interleaved" in short chunks
> and also sound from alsaplayer on plug:b is also heard in addition to
> original mp3 and aplay sound.
Please try the a,b,c pcm devices without the "plug:" prefix.
Does it work if you run aplay on devices a and b?
Regards,
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 3+ messages in thread
* Bug in sis7012 driver - or probably I'm doing something wrong ?
@ 2004-04-24 8:59 Robert Rozman
0 siblings, 0 replies; 3+ messages in thread
From: Robert Rozman @ 2004-04-24 8:59 UTC (permalink / raw)
To: alsa-devel
Hi,
I have Asus pundit with sis7012 sound device and alsa 1.0.4 under Suse 9.0.
I've got advice how to use this 6 channel device as 3 stereo channels but
there seems something not to be right (it could be my mistake).
Now I do:
- alsaplayer with mp3 file on device plug:a
- aplay -D plug:ch12 (funny is that plug:a doesn't work)
- everything is ok and mixed properly
- but if I start another alsaplayer on plug:b (probably also plug:c would be
the same), then aplay produces sound that is "interleaved" in short chunks
and also sound from alsaplayer on plug:b is also heard in addition to
original mp3 and aplay sound.
Am I doing something worng or is this somkind of bug or limitation of alsa
driver ?
Thanks in advance,
Robert.
I have /etc/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.dmixerALL {
type dmix
ipc_key 47110815
slave sis
bindings.0 0
bindings.1 1
bindings.2 2
bindings.3 3
bindings.4 4
bindings.5 5
}
pcm.channelALL {
type plug
slave.pcm "dmixerALL"
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
}
-----------------------------------------
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-24 8:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-24 8:59 Bug in sis7012 driver - or probably I'm doing something wrong ? Robert Rozman
-- strict thread matches above, loose matches on Subject: below --
2004-04-04 19:54 Robert Rozman
2004-04-06 7:44 ` Clemens Ladisch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox