~mil/f_scripts

f29da76981254410678ce9250dd23cfc9d567b0f — Miles Alan 8 months ago f20626d 0.3
f_audio, f_youtube: Set dac to 100%, fixed muted sound by default

Seems like the default config on the pinephone changed..
2 files changed, 4 insertions(+), 0 deletions(-)

M scripts/f_audio
M scripts/f_youtube
M scripts/f_audio => scripts/f_audio +2 -0
@@ 39,6 39,8 @@ volset() {
devicepine64pinephone() {
  amixer set "AIF1 DA0" "100%" > /dev/null
  amixer set "AIF1 Slot 0 Digital DAC" unmute > /dev/null
  amixer set DAC "100%" > /dev/null
  amixer set DAC unmute > /dev/null
  GLOBAL_SPEAKER="Line Out"
  GLOBAL_HEADPHONE="Headphone"
  GLOBAL_EARPIECE="Earpiece"

M scripts/f_youtube => scripts/f_youtube +2 -0
@@ 65,6 65,8 @@ searchandpick() {
devicepine64pinephone() {
  amixer set "AIF1 DA0" "100%" > /dev/null
  amixer set "AIF1 Slot 0 Digital DAC" unmute > /dev/null
  amixer set "DAC" "100%" > /dev/null
  amixer set "DAC" unmute > /dev/null
}

main() {