summaryrefslogtreecommitdiffstats
path: root/audio_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio_hw.h')
-rw-r--r--audio_hw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio_hw.h b/audio_hw.h
index a06ef9b..d0be2a1 100644
--- a/audio_hw.h
+++ b/audio_hw.h
@@ -47,6 +47,8 @@ struct tinyalsa_audio_stream_out {
struct pcm *pcm;
int standby;
+
+ pthread_mutex_t lock;
};
struct tinyalsa_audio_stream_in {
@@ -67,6 +69,8 @@ struct tinyalsa_audio_stream_in {
struct pcm *pcm;
int standby;
+
+ pthread_mutex_t lock;
};
struct tinyalsa_audio_device {
@@ -85,6 +89,8 @@ struct tinyalsa_audio_device {
float voice_volume;
int mic_mute;
+
+ pthread_mutex_t lock;
};
int audio_out_set_route(struct tinyalsa_audio_stream_out *stream_out,