* alsa conf file
[not found] <mailman.3111.1205405872.2095.alsa-devel@alsa-project.org>
@ 2008-03-14 2:01 ` tomars
2008-03-14 7:33 ` Clemens Ladisch
0 siblings, 1 reply; 2+ messages in thread
From: tomars @ 2008-03-14 2:01 UTC (permalink / raw)
To: alsa-devel
I write a asound.conf file in the /etc/ , the detail is as follows.
pcm.hardware{
type hw:0
card 0
device 0
}
pcm_slave.test {
pcm "hardware"
format S16_LE
rate 44100
channels 2
period_time 20000
buffer_time 80000
}
pcm.mix1{
type dmix
ipc_key 1235675
ipc_key_add_uid true
slave "test"
}
pcm.mix2{
type dmix
ipc_key 1235675
ipc_key_add_uid true
slave {
pcm "hw:0"
format S16_LE
rate 44100
channels 2
period_time 20000
buffer_time 80000
}
}
pcm.!default {
type plug
slave.pcm mix2
#slave.pcm mix1
}
when I use the slave.pcm mix2, the aplay works well. but if I select the slave.pcm mix1, the aplay gets the info:
ALSA lib pcm_direct.c:1462:(_snd_pcm_direct_get_slave_ipc_offset) Invalid type 'dmix' for slave PCM
I compare the definition of mix1 with the definition of mix2, I feel they have the identical meaning. so why does the mix2 get the error?
thank you!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: alsa conf file
2008-03-14 2:01 ` alsa conf file tomars
@ 2008-03-14 7:33 ` Clemens Ladisch
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2008-03-14 7:33 UTC (permalink / raw)
To: leijin.tang; +Cc: alsa-devel
tomars wrote:
> pcm.hardware{
> type hw:0
type hw
HTH
Clemens
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-14 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3111.1205405872.2095.alsa-devel@alsa-project.org>
2008-03-14 2:01 ` alsa conf file tomars
2008-03-14 7:33 ` Clemens Ladisch
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.