aspeed: add support for the witherspoon-bmc board
[qemu.git] / audio / audio_pt_int.h
blob4c0c15b9af94787981c218b02e3574ab01a97bae
1 #ifndef QEMU_AUDIO_PT_INT_H
2 #define QEMU_AUDIO_PT_INT_H
4 #include <pthread.h>
6 struct audio_pt {
7 const char *drv;
8 pthread_t thread;
9 pthread_cond_t cond;
10 pthread_mutex_t mutex;
13 int audio_pt_init (struct audio_pt *, void *(*) (void *), void *,
14 const char *, const char *);
15 int audio_pt_fini (struct audio_pt *, const char *);
16 int audio_pt_lock (struct audio_pt *, const char *);
17 int audio_pt_unlock (struct audio_pt *, const char *);
18 int audio_pt_wait (struct audio_pt *, const char *);
19 int audio_pt_unlock_and_signal (struct audio_pt *, const char *);
20 int audio_pt_join (struct audio_pt *, void **, const char *);
22 #endif /* QEMU_AUDIO_PT_INT_H */