|
73 | 73 | PaError Pa_Initialize( void ); |
74 | 74 | PaError Pa_Terminate( void ); |
75 | 75 | typedef int PaDeviceIndex; |
76 | | -/* not implemented: paNoDevice */ |
77 | | -/* not implemented: paUseHostApiSpecificDeviceSpecification */ |
| 76 | +#define paNoDevice -1 |
| 77 | +#define paUseHostApiSpecificDeviceSpecification -2 |
78 | 78 | typedef int PaHostApiIndex; |
79 | 79 | PaHostApiIndex Pa_GetHostApiCount( void ); |
80 | 80 | PaHostApiIndex Pa_GetDefaultHostApi( void ); |
|
149 | 149 | PaTime suggestedLatency; |
150 | 150 | void *hostApiSpecificStreamInfo; |
151 | 151 | } PaStreamParameters; |
152 | | -/* not implemented: paFormatIsSupported */ |
| 152 | +#define paFormatIsSupported 0 |
153 | 153 | PaError Pa_IsFormatSupported( const PaStreamParameters *inputParameters, |
154 | 154 | const PaStreamParameters *outputParameters, |
155 | 155 | double sampleRate ); |
|
193 | 193 | PaStreamFlags streamFlags, |
194 | 194 | PaStreamCallback *streamCallback, |
195 | 195 | void *userData ); |
196 | | -/* not implemented: Pa_OpenDefaultStream */ |
| 196 | +PaError Pa_OpenDefaultStream( PaStream** stream, |
| 197 | + int numInputChannels, |
| 198 | + int numOutputChannels, |
| 199 | + PaSampleFormat sampleFormat, |
| 200 | + double sampleRate, |
| 201 | + unsigned long framesPerBuffer, |
| 202 | + PaStreamCallback *streamCallback, |
| 203 | + void *userData ); |
197 | 204 | PaError Pa_CloseStream( PaStream *stream ); |
198 | 205 | typedef void PaStreamFinishedCallback( void *userData ); |
199 | 206 | PaError Pa_SetStreamFinishedCallback( PaStream *stream, |
|
221 | 228 | unsigned long frames ); |
222 | 229 | signed long Pa_GetStreamReadAvailable( PaStream* stream ); |
223 | 230 | signed long Pa_GetStreamWriteAvailable( PaStream* stream ); |
224 | | -/* not implemented: Pa_GetStreamHostApiType */ |
| 231 | +PaHostApiTypeId Pa_GetStreamHostApiType( PaStream* stream ); |
225 | 232 | PaError Pa_GetSampleSize( PaSampleFormat format ); |
226 | 233 | void Pa_Sleep( long msec ); |
227 | 234 |
|
|
0 commit comments