Routing of channels, more than one output.
I've got a 'problem' that involves playing around with 'asoundrc' files.
What I desire to do is by specifying a sound 'device' have the audio routed specially. If I specify 'mono2' for example, I'd like my mono sound samples routed to BOTH the left and right speaker. If I say 'stereo4' I'd like my stereo channels (sent with 'writei' calls) routed to both the front AND rear speakers. While I could write out the samples, it seems much easier to have a definition in my 'asoundrd' file to do this, if possible. If it isn't possible, I will take another tact.
So, my question, can this be done? If so, how? I'm not an expert at 'asoundrd' files.
I'm using an M-Audio Revolution 7.1 card if that makes any difference (hopefully not).
Thanks. We now return you to the regularly scheduled bug reports in the mailing list.
Signature · 14 lines
Tom Watson [email protected] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 3 lines · Tom Watson
What I desire to do is by specifying a sound 'device' have the audio routed specially. If I specify 'mono2' for example, I'd like my mono sound samples routed to BOTH the left and right speaker.
untested:
pcm.mono2 {
type route
slave {
pcm "hw:42" # or whatever ...
channels 2
}
ttable.0.0 1
ttable.0.1 1
}Quoted 2 lines
If I say 'stereo4' I'd like my stereo channels (sent with 'writei' calls) routed to both the front AND rear speakers.
pcm.stereo4 {
type route
slave {
pcm "hw:42" # or whatever ...
channels 4
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}HTH
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642