aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/audio/audio-alsa.h
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-28 16:16:12 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-28 16:16:12 +0100
commit07c775201fbd9477bd4a69cee3d48a95eb612bc6 (patch)
tree48bd25df68a0eb36b7c0dfb428dfc471905c668f /plugins/audio/audio-alsa.h
parent7181ede7add4eb3f5a92f5f8c9fd9cc8fdf6c659 (diff)
Fix Audio plugin loading, mute on Porter/Koelsch
Audio plugin was crashing due to new client context model misuse. Muting/demuting sound did fail on Porter/Koelsch boards, because their audio cards do not obey standards found on desktop systems. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/audio/audio-alsa.h')
-rw-r--r--plugins/audio/audio-alsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/audio/audio-alsa.h b/plugins/audio/audio-alsa.h
index 85545d57..25292ad1 100644
--- a/plugins/audio/audio-alsa.h
+++ b/plugins/audio/audio-alsa.h
@@ -31,6 +31,7 @@ struct dev_ctx {
snd_pcm_t *dev;
snd_pcm_hw_params_t *params;
snd_mixer_elem_t *mixer_elm;
+ snd_mixer_elem_t *mixer_elm_m;
long vol_max;
long vol;
pthread_t thr;