migrated PaHost_GetStreamRepresentation() from pa_win_wmme.c
return past->past_Usage;
}
+/*************************************************************************/
+internalPortAudioStream* PaHost_GetStreamRepresentation( PortAudioStream *stream )
+{
+ internalPortAudioStream* result = (internalPortAudioStream*) stream;
+
+ if( result == NULL || result->past_Magic != PA_MAGIC )
+ return NULL;
+ else
+ return result;
+}
+
/*************************************************************
** Calculate 2 LSB dither signal with a triangular distribution.
** Ranged properly for adding to a 32 bit integer prior to >>15.
return result;
}
+int PaHost_IsInitialized()
+{
+ return gInitCount;
+}
+
/*************************************************************************/
PaError Pa_GetSampleSize( PaSampleFormat format )
{