summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-17 22:22:53 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-17 22:22:53 +0000
commitbef6322859a5dc01e35d884de7afd2eabb1d9e4d (patch)
tree6431f409747005fca20998fe518c174c909fd385 /common.h
parentc58ce0879c1cabfd31dd8657d2594d78f13b1360 (diff)
at basic locking/threading support
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@26 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index 41c43b1..58a9a3e 100644
--- a/common.h
+++ b/common.h
@@ -2,6 +2,7 @@
#define foocommonh
#include "sydney.h"
+#include "mutex.h"
#define _META_NAMES_MAX 9
@@ -55,6 +56,8 @@ struct sa_stream {
void *meta_data[_META_NAMES_MAX];
size_t meta_data_size[_META_NAMES_MAX];
+
+ sa_mutex_t *mutex;
};
size_t get_pcm_sample_size(sa_pcm_format_t f);