search for: audio_hdmi

Displaying 1 result from an estimated 1 matches for "audio_hdmi".

2009 Jan 29
1
Question on script
...XTRA word. HDA Nvidia and HDA ATI HDMI is what I am talking about below. how do I search for a line that has HDMI (which I know how to do), then ignore everything upto the device work and take the next field after that? Thanks, Jerry I was doing this but it does not work for both cases. AUDIO_HDMI=`aplay -l | grep -c HDMI` if [ "$AUDIO_HDMI" -ge 1 ] then AUDIO_DEVICE=`aplay -l | grep HDMI | grep " device " | grep -m 1 -v "device 0" | tr -d ':' | cut -d ' ' -f 8` AUDIO_CARD=`aplay -l | grep HDMI | g...