~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to audio/audio_pt_int.h

  • Committer: ths
  • Date: 2007-06-17 15:32:30 UTC
  • Revision ID: git-v1:ffb04fcf089865952592f1f8855c2848d4514a89
Allow relative paths for the interpreter prefix in linux-user emulation.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2984 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef QEMU_AUDIO_PT_INT_H
2
 
#define QEMU_AUDIO_PT_INT_H
3
 
 
4
 
#include <pthread.h>
5
 
 
6
 
struct audio_pt {
7
 
    const char *drv;
8
 
    pthread_t thread;
9
 
    pthread_cond_t cond;
10
 
    pthread_mutex_t mutex;
11
 
};
12
 
 
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 *);
21
 
 
22
 
#endif /* audio_pt_int.h */