Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HEADPHONE=`amixer sget Headphone | grep -m1 "%]" | cut -d "[" -f2 | cut -d "]" -f1`
- SPEAKER=`amixer sget Speaker | grep -m1 "%]" | cut -d "[" -f2 | cut -d "]" -f1`
- BASS=`amixer sget Bass | grep -m1 "%]" | cut -d "[" -f2 | cut -d "]" -f1`
- TREBLE=`amixer sget Treble | grep -m1 "%]" | cut -d "[" -f2 | cut -d "]" -f1`
- # Set speaker vol to 0 for rockbox.
- amixer -q sset "Speaker" 0%
- #amixer -q sset "Headphone" 95%
- # Headphone or Line-out tone settings.
- amixer -q sset "Bass" 47%
- amixer -q sset "Treble" 47%
- export SDL_AUDIODRIVER=dsp
- export SDL_NOMOUSE=1
- export SDL_VIDEO_FBCON_ROTATION="CCW"
- rockbox.bin
- # Restore Speaker volume and tone settings.
- amixer -q sset "Speaker" $SPEAKER
- amixer -q sset "Bass" $BASS
- amixer -q sset "Treble" $TREBLE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement