symbian-qemu-0.9.1-12/qemu-symbian-svp/audio/audio_pt_int.h
author William Roberts <williamr@symbian.org>
Thu, 08 Oct 2009 20:49:04 +0100
changeset 10 1cf69c2c2bbd
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Adjust to /sf/adaptation/qemu, add package_definition.xml and syborg.mrp

#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 */