Sample Header Ad - 728x90

How to route sgtl5000 audio within the chip?

0 votes
1 answer
73 views
I have an embedded device with an sgtl5000 audio codec, linked to an iMX8 CPU via SPI. According to the datasheet, there is a direct route from LINE_IN to HP_OUT, which avoids sound travelling through the SPI connection to the CPU. datasheet block diagram Does ALSA/alsamixer allow me to do this routing, or is it restricted to only those audio flows which traverse the kernel? --- Using amixer, I can see: root@test217:~# amixer Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 89 [70%] [-7.00dB] [on] Front Right: Playback 89 [70%] [-7.00dB] [on] Simple mixer control 'Headphone Mux',0 Capabilities: enum Items: 'DAC' 'LINE_IN' Item0: 'DAC' ... What command lets me switch Headphone Mux>>Item0 from DAC to LINE_IN?
Asked by fadedbee (1113 rep)
Dec 19, 2023, 02:54 PM
Last activity: Dec 19, 2023, 03:34 PM