aboutsummaryrefslogtreecommitdiffstats
path: root/meta-n450/recipes-bsp/n450-audio/n450-audio/n450-audio
blob: ad1b0bd46e86b7b72f37987e35b97e1c3cb579e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

AMIXER=`which amixer`

if [ ! -e "$AMIXER" ]; then
	if [ -e /usr/bin/amixer ]; then
		AMIXER=/usr/bin/amixer
	else
		echo "amixer not found, unable to set default audio settings."
		exit 1
	fi
fi

# Enable the "Front" simple controls (black phones jack)
$AMIXER sset Front 30 on