]> git.proxmox.com Git - qemu.git/blame - audio/audio_pt_int.h
hw/pci-host/versatile.c: Update autodetect to detect newer kernels
[qemu.git] / audio / audio_pt_int.h
CommitLineData
ca9cc28c
AZ
1#ifndef QEMU_AUDIO_PT_INT_H
2#define QEMU_AUDIO_PT_INT_H
3
4#include <pthread.h>
5
6struct audio_pt {
7 const char *drv;
8 pthread_t thread;
9 pthread_cond_t cond;
10 pthread_mutex_t mutex;
11};
12
13int audio_pt_init (struct audio_pt *, void *(*) (void *), void *,
14 const char *, const char *);
15int audio_pt_fini (struct audio_pt *, const char *);
16int audio_pt_lock (struct audio_pt *, const char *);
17int audio_pt_unlock (struct audio_pt *, const char *);
18int audio_pt_wait (struct audio_pt *, const char *);
19int audio_pt_unlock_and_signal (struct audio_pt *, const char *);
20int audio_pt_join (struct audio_pt *, void **, const char *);
21
22#endif /* audio_pt_int.h */