diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-10-31 11:00:40 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-10-31 11:00:40 +0100 |
commit | 9b938f8c302c9f5c467a7b282a6fd63468b88386 (patch) | |
tree | 596539c79e359f06649a1b5a1d08b67596dc8af4 | |
parent | f02c6e6ca5c1918082052e987b4b977640ba2965 (diff) |
apalis/colibri_t30: fix noisy analogue audio playback
Fix noisy analogue audio playback by updating initial ALSA state.
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state | 12 | ||||
-rw-r--r-- | 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 |