Skip to contentSkip to conversation

emu10k1 "swap front and rear"

DISCUSSION Lee Revell 2 participants 2 messages Aug 26, 2005 – Aug 29, 2005

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

Several users have asked for a "swap front and rear" mixer control for this device, as it's well known that the codec driving the rear channels is of higher quality than the front (something like 10x better THD, I don't have the link handy). For example the kS driver has this, and it's enabled by default. I think the difference is audible.

Rather than doing it in the DSP like the kX driver, it occurred to me that this could be done in alsa-lib. Just reverse the definitions of "front", "rear" (and surround*) in the .asoundrc.

Does the ALSA API support a control like this, that could be implemented in the asound.conf but exposed to the mixer as a "Swap front and Rear" toggle?

Lee

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#1 lore raw

At Fri, 26 Aug 2005 17:43:14 -0400,

Quoted 7 lines · Lee Revell

Several users have asked for a "swap front and rear" mixer control for this device, as it's well known that the codec driving the rear channels is of higher quality than the front (something like 10x better THD, I don't have the link handy). For example the kS driver has this, and it's enabled by default. I think the difference is audible.

Quoted 7 lines

Rather than doing it in the DSP like the kX driver, it occurred to me that this could be done in alsa-lib. Just reverse the definitions of "front", "rear" (and surround*) in the .asoundrc.

Does the ALSA API support a control like this, that could be implemented in the asound.conf but exposed to the mixer as a "Swap front and Rear" toggle?

AFAIK, there is no real conditional syntax in asoundrc. So, anyway we'll need an extension.

If the amount of additional code is small, it'd be easier and better to do it on driver. (Since many people don't use aoss for sb live, they prefer that OSS works with kernel emulation, too.)

Takashi

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf