QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
681 B
22 lines
681 B
#ifndef QEMU_AUDIO_PT_INT_H
|
|
#define QEMU_AUDIO_PT_INT_H
|
|
|
|
#include <pthread.h>
|
|
|
|
struct audio_pt {
|
|
const char *drv;
|
|
pthread_t thread;
|
|
pthread_cond_t cond;
|
|
pthread_mutex_t mutex;
|
|
};
|
|
|
|
int audio_pt_init (struct audio_pt *, void *(*) (void *), void *,
|
|
const char *, const char *);
|
|
int audio_pt_fini (struct audio_pt *, const char *);
|
|
int audio_pt_lock (struct audio_pt *, const char *);
|
|
int audio_pt_unlock (struct audio_pt *, const char *);
|
|
int audio_pt_wait (struct audio_pt *, const char *);
|
|
int audio_pt_unlock_and_signal (struct audio_pt *, const char *);
|
|
int audio_pt_join (struct audio_pt *, void **, const char *);
|
|
|
|
#endif /* audio_pt_int.h */
|
|
|