58 #define PA_STREAM_MAGIC (0x18273645)
78 signed long (*GetReadAvailable)(
PaStream* stream );
79 signed long (*GetWriteAvailable)(
PaStream* stream );
95 PaError (*Write)(
PaStream* stream,
const void *buffer,
unsigned long frames ),
96 signed long (*GetReadAvailable)(
PaStream* stream ),
97 signed long (*GetWriteAvailable)(
PaStream* stream ) );
107 unsigned long frames );
117 unsigned long frames );
189 #define PA_STREAM_REP( stream )\
190 ((PaUtilStreamRepresentation*) (stream) )
197 #define PA_STREAM_INTERFACE( stream )\
198 PA_STREAM_REP( (stream) )->streamInterface
unsigned long magic
Definition: pa_stream.h:148
PaError PaUtil_DummyRead(PaStream *stream, void *buffer, unsigned long frames)
Definition: pa_stream.c:105
void PaUtil_InitializeStreamInterface(PaUtilStreamInterface *streamInterface, PaError(*Close)(PaStream *), PaError(*Start)(PaStream *), PaError(*Stop)(PaStream *), PaError(*Abort)(PaStream *), PaError(*IsStopped)(PaStream *), PaError(*IsActive)(PaStream *), PaTime(*GetTime)(PaStream *), double(*GetCpuLoad)(PaStream *), PaError(*Read)(PaStream *, void *, unsigned long), PaError(*Write)(PaStream *, const void *, unsigned long), signed long(*GetReadAvailable)(PaStream *), signed long(*GetWriteAvailable)(PaStream *))
Definition: pa_stream.c:51
void PaUtil_InitializeStreamRepresentation(PaUtilStreamRepresentation *streamRepresentation, PaUtilStreamInterface *streamInterface, PaStreamCallback *streamCallback, void *userData)
Definition: pa_stream.c:80
void PaStream
Definition: portaudio.h:644
Definition: portaudio.h:1051
PaUtilStreamInterface * streamInterface
Definition: pa_stream.h:150
int PaStreamCallback(const void *input, void *output, unsigned long frameCount, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData)
Definition: portaudio.h:839
void PaStreamFinishedCallback(void *userData)
Definition: portaudio.h:974
Definition: pa_stream.h:67
The portable PortAudio API.
PaError PaUtil_ValidateStreamPointer(PaStream *stream)
Definition: pa_front.c:1369
struct PaUtilStreamRepresentation * nextOpenStream
Definition: pa_stream.h:149
void PaUtil_TerminateStreamRepresentation(PaUtilStreamRepresentation *streamRepresentation)
Definition: pa_stream.c:99
int PaError
Definition: portaudio.h:122
Definition: pa_stream.h:147
void * userData
Definition: pa_stream.h:153
PaStreamCallback * streamCallback
Definition: pa_stream.h:151
PaStreamFinishedCallback * streamFinishedCallback
Definition: pa_stream.h:152
signed long PaUtil_DummyGetWriteAvailable(PaStream *stream)
Definition: pa_stream.c:137
double PaUtil_DummyGetCpuLoad(PaStream *stream)
Definition: pa_stream.c:145
char buffer[NUM_BYTES]
Definition: recplay.c:26
double PaTime
Definition: portaudio.h:465
struct PaUtilStreamRepresentation PaUtilStreamRepresentation
PaError PaUtil_DummyWrite(PaStream *stream, const void *buffer, unsigned long frames)
Definition: pa_stream.c:117
signed long PaUtil_DummyGetReadAvailable(PaStream *stream)
Definition: pa_stream.c:129
PaStreamInfo streamInfo
Definition: pa_stream.h:154