Thank you for your donation!


Solved: Hardware volume control on Topping D10
#7
(12-11-2019, 01:48 PM)Tim Curtis Wrote: @TheOldPresbyope
On your Khadas rig whats the output from cmd below? I think for last release I'd like to slip in an improved routine for parsing out the mixer name :-)

Code:
awk -F"'" '/Simple mixer control/{print "(" $2 ")" ;}' <(amixer -c 0)


Here's that along with full amixer outputs for cards 0 and 1:

Code:
pi@moodeLR:~ $ awk -F"'" '/Simple mixer control/{print "(" $2 ")" ;}' <(amixer -c 0)
(PCM)
pi@moodeLR:~ $ amixer -c 0
Simple mixer control 'PCM',0
 Capabilities: pvolume pvolume-joined pswitch pswitch-joined
 Playback channels: Mono
 Limits: Playback -10239 - 400
 Mono: Playback 400 [100%] [4.00dB] [on]
pi@moodeLR:~ $ amixer -c 1
Simple mixer control 'Khadas Tone Control ',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 127
 Mono:
 Front Left: Playback 127 [100%] [0.00dB] [on]
 Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Khadas Tone Control ',1
 Capabilities: pvolume pvolume-joined pswitch pswitch-joined
 Playback channels: Mono
 Limits: Playback 0 - 127
 Mono: Playback 127 [100%] [0.00dB] [on]
Reply


Messages In This Thread
RE: Hardware volume control on Topping D10 - by TheOldPresbyope - 12-11-2019, 02:05 PM

Forum Jump: