From 9b938f8c302c9f5c467a7b282a6fd63468b88386 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Fri, 31 Oct 2014 11:00:40 +0100 Subject: apalis/colibri_t30: fix noisy analogue audio playback Fix noisy analogue audio playback by updating initial ALSA state. --- recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state | 12 ++++-------- recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state | 10 +++------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state b/recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state index b78aaff..2ef9ce4 100644 --- a/recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state +++ b/recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state @@ -1,4 +1,4 @@ -state.colibrit30sgtl5 { +state.apalist30sgtl50 { control.1 { iface MIXER name 'PCM Playback Volume' @@ -26,15 +26,11 @@ state.colibrit30sgtl5 { control.3 { iface MIXER name 'Capture Attenuate Switch (-6dB)' - value 1 + value true comment { access 'read write' - type INTEGER + type BOOLEAN count 1 - range '0 - 2' - dbmin -600 - dbmax 600 - dbvalue.0 0 } } control.4 { @@ -81,7 +77,7 @@ state.colibrit30sgtl5 { access 'read write' type INTEGER count 1 - range '0 - 4' + range '0 - 3' dbmin 0 dbmax 4000 dbvalue.0 3000 diff --git a/recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state b/recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state index b78aaff..8bb82e8 100644 --- a/recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state +++ b/recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state @@ -26,15 +26,11 @@ state.colibrit30sgtl5 { control.3 { iface MIXER name 'Capture Attenuate Switch (-6dB)' - value 1 + value true comment { access 'read write' - type INTEGER + type BOOLEAN count 1 - range '0 - 2' - dbmin -600 - dbmax 600 - dbvalue.0 0 } } control.4 { @@ -81,7 +77,7 @@ state.colibrit30sgtl5 { access 'read write' type INTEGER count 1 - range '0 - 4' + range '0 - 3' dbmin 0 dbmax 4000 dbvalue.0 3000 -- cgit v1.2.3