doccomment for PaAsio_SetStreamSampleRate()
This commit is contained in:
parent
b4b747fc10
commit
6cff10c3f4
1 changed files with 13 additions and 0 deletions
|
|
@ -100,6 +100,19 @@ PaError PaAsio_GetOutputChannelName( PaDeviceIndex device, int channelIndex,
|
||||||
const char** channelName );
|
const char** channelName );
|
||||||
|
|
||||||
|
|
||||||
|
/** Set the sample rate of an open paASIO stream.
|
||||||
|
|
||||||
|
@param stream The stream to operate on.
|
||||||
|
@param sampleRate The new sample rate.
|
||||||
|
|
||||||
|
Note that this function may fail if the stream is alredy running and the
|
||||||
|
ASIO driver does not support switching the sample rate of a running stream.
|
||||||
|
|
||||||
|
Returns paIncompatibleStreamHostApi if stream is not a paASIO stream.
|
||||||
|
*/
|
||||||
|
PaError PaAsio_SetStreamSampleRate( PaStream* stream, double sampleRate );
|
||||||
|
|
||||||
|
|
||||||
#define paAsioUseChannelSelectors (0x01)
|
#define paAsioUseChannelSelectors (0x01)
|
||||||
|
|
||||||
typedef struct PaAsioStreamInfo{
|
typedef struct PaAsioStreamInfo{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue