Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mcimx6q-sbc [2017/10/04 18:02] – [Headphone mixers] rpjday | mcimx6q-sbc [2017/10/04 18:34] (current) – [Headphone mixers] rpjday | ||
---|---|---|---|
Line 119: | Line 119: | ||
</ | </ | ||
- | The above represents bypassing the headphone mixers on both channels. | + | The above represents bypassing the headphone mixers on both channels. |
+ | |||
+ | First, switch to have HPOUTL come from the mixer, not directly from DACL. This should kill the output to the left HP channel (until we configure the mixer properly): | ||
+ | |||
+ | < | ||
+ | # amixer cset name=" | ||
+ | numid=95, | ||
+ | ; type=ENUMERATED, | ||
+ | ; Item #0 ' | ||
+ | ; Item #1 ' | ||
+ | : values=1 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # amixer get " | ||
+ | Simple mixer control ' | ||
+ | Capabilities: | ||
+ | Items: ' | ||
+ | Item0: ' | ||
+ | </ | ||
+ | |||
+ | Indeed, playing mono files now produces no output at all (which is expected). | ||
+ | |||
+ | Now configure HPMIXL to get input from DACL: | ||
+ | |||
+ | < | ||
+ | # amixer set " | ||
+ | Simple mixer control ' | ||
+ | Capabilities: | ||
+ | Playback channels: Mono | ||
+ | Mono: Playback [on] | ||
+ | </ | ||
+ | |||
+ | But playing a mono wav file ... no sound. Not good. Oh, wait, must turn on headphone mixer: | ||
+ | |||
+ | < | ||
+ | # amixer set " | ||
+ | Simple mixer control ' | ||
+ | Capabilities: | ||
+ | Playback channels: Front Left - Front Right | ||
+ | Mono: | ||
+ | Front Left: Playback [on] | ||
+ | Front Right: Playback [on] | ||
+ | </ | ||
+ | |||
+ | In short: | ||
+ | |||
+ | * switch '' | ||
+ | * enable '' | ||
+ | * enable " | ||
+ | |||
+ | ==== Playing mono .wav files on both headphone channels ==== | ||
+ | |||
+ | Seems simple enough: | ||
+ | |||
+ | * Switch '' | ||
+ | * Make sure " | ||
+ | * Enable '' |