Hi，you mean when pulgin headset ,set HDMI audio volume to 0?
and we don’t support the command “pactl list” , do we need install some tools?
No,. these two are totally different things.
I don’t think “disabling the volume” would give you switch to your headset. Please clarify what is your exact request here?
Do you want to switch the audio sink or just adjust the volume?
we want to swith audio channel. if plugin headset or loudspeaker box , hdmi audio disable, if no headset or loudspeaker box,hdmi audo enable.
You might need to add/modify udev rules to implement desired audio routing policy. (Help for writing udev rules shall be available on internet)
Current udev rules(/etc/udev/rules.d/92-hdmi-audio-tegra.rules and /etc/udev/rules.d/90-alsa-asound-tegra.rules) set the default alsa audio device as
- HDMI when both HDMI and Analog are connected
- HDMI when HDMI alone is connected
- Analog when HDMI is disconnected
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.