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:04] – [Headphone mixers] rpjday | mcimx6q-sbc [2017/10/04 18:34] (current) – [Headphone mixers] rpjday | ||
|---|---|---|---|
| Line 120: | Line 120: | ||
| The above represents bypassing the headphone mixers on both channels. Experiment with just mono files and try to set the left channel to come through the mixer for that channel. | The above represents bypassing the headphone mixers on both channels. Experiment with just mono files and try to set the left channel to come through the mixer for that channel. | ||
| + | |||
| + | 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 '' | ||