AudioBufferList inputAudioBufferList;
AudioTimeStamp startTime;
/* FIXME: instead of volatile, these should be properly memory barriered */
- volatile PaStreamCallbackFlags xrunFlags;
+ volatile uint32_t xrunFlags; /*PaStreamCallbackFlags*/
volatile enum {
STOPPED = 0, /* playback is completely stopped,
and the user has called StopStream(). */
if( isInput ) {
if( stream->inputDevice == inDevice )
- OSAtomicOr32( paInputOverflow, (uint32_t *)&(stream->xrunFlags) );
+ OSAtomicOr32( paInputOverflow, &stream->xrunFlags );
} else {
if( stream->outputDevice == inDevice )
- OSAtomicOr32( paOutputUnderflow, (uint32_t *)&(stream->xrunFlags) );
+ OSAtomicOr32( paOutputUnderflow, &stream->xrunFlags );
}
}