Hi
I have Colibri Imx6dl ver 1.1 with a stereo audio, I want to convert it two mono
I try it from /etc/asound.conf as below.
it is important for me to by efficient ( CPU usage )
so it try it as below
is it efficient ?
pcm.my_card {
type hw
card 0
device 0
}
pcm.my_card_dmix {
type dmix
ipc_key 1024
ipc_key_add_uid 1
ipc_perm 0666
slave {
pcm “my_card”
channels 2
}
bindings {
0 0
1 1
}
}
pcm.record_left {
type dsnoop
ipc_key 1024
slave {
pcm “my_card”
channels 2
}
bindings.0 0
}
pcm.record_right {
type dsnoop
ipc_key 1024
slave {
pcm “my_card”
channels 2
}
bindings.0 1
}
pcm.mono_in_left {
type plug
slave.pcm pcm.record_left
slave.channels 1
}
pcm.mono_in_right {
type plug
slave.pcm pcm.record_right
slave.channels 1
}
pcm.mono_zone1 {
type plug
slave.pcm my_card_dmix
slave.channels 2
ttable {
Copy both input channels to output channel 0 (Left).
0.0 1
1.0 1
Send nothing to output channel 1 (Right).
0.1 0
1.1 0
}
}
pcm.mono_zone2 {
type plug
slave.pcm my_card_dmix
slave.channels 2
ttable {
Send nothing to output channel 0 (Left).
0.0 0
1.0 0
Copy both input channels to output channel 1 (Right).
0.1 1
1.1 1
}
}-----------------------