~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to audio/audio.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:
24
24
#ifndef QEMU_AUDIO_H
25
25
#define QEMU_AUDIO_H
26
26
 
27
 
#include "config-host.h"
 
27
#include "config.h"
28
28
#include "sys-queue.h"
29
29
 
30
30
typedef void (*audio_callback_fn_t) (void *opaque, int avail);
73
73
    LIST_ENTRY (CaptureState) entries;
74
74
} CaptureState;
75
75
 
 
76
typedef struct AudioState AudioState;
76
77
typedef struct SWVoiceOut SWVoiceOut;
77
78
typedef struct CaptureVoiceOut CaptureVoiceOut;
78
79
typedef struct SWVoiceIn SWVoiceIn;
124
125
void     AUD_init_time_stamp_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
125
126
uint64_t AUD_get_elapsed_usec_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
126
127
 
127
 
void AUD_set_volume_out (SWVoiceOut *sw, int mute, uint8_t lvol, uint8_t rvol);
128
 
void AUD_set_volume_in (SWVoiceIn *sw, int mute, uint8_t lvol, uint8_t rvol);
129
 
 
130
128
SWVoiceIn *AUD_open_in (
131
129
    QEMUSoundCard *card,
132
130
    SWVoiceIn *sw,
170
168
#define audio_MAX(a, b) ((a)<(b)?(b):(a))
171
169
#endif
172
170
 
173
 
int wav_start_capture (CaptureState *s, const char *path, int freq,
174
 
                       int bits, int nchannels);
175
 
 
176
171
#endif  /* audio.h */