TS-7970 3.5mm Audio Ports: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 8: Line 8:


export ALSA_CARD=imxhdmisoc
export ALSA_CARD=imxhdmisoc
espeak this is playing from the HDMI monitor
espeak "this is playing from the HDMI monitor"


export ALSA_CARD=imx6qts7970sgtl
export ALSA_CARD=imx6qts7970sgtl
espeak this is playing from the onboard sgtl5000
espeak "this is playing from the onboard sgtl5000"
</source>
</source>

Revision as of 17:12, 12 May 2016

The TS-7970 includes two 3.5mm jacks. The top port is a mono microphone input, and the bottom port is a headphone port with left and right channels. You may need to use "alsamixer" or "amixer" to adjust the volume before you can hear it on headphones.

In Linux you can select between the HDMI and 3.5mm ports with an alsa variable. By default all audio comes out of the sgtl5000 for the 3.5mm ports.

# list the sound cards
aplay -l

export ALSA_CARD=imxhdmisoc
espeak "this is playing from the HDMI monitor"

export ALSA_CARD=imx6qts7970sgtl
espeak "this is playing from the onboard sgtl5000"