From 6cff10c3f4a3f4cd4f97a91afaf2f868b1620e3c Mon Sep 17 00:00:00 2001 From: rossb Date: Wed, 21 Jan 2009 10:20:42 +0000 Subject: [PATCH] doccomment for PaAsio_SetStreamSampleRate() --- include/pa_asio.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/pa_asio.h b/include/pa_asio.h index a164a6a..9360ee0 100644 --- a/include/pa_asio.h +++ b/include/pa_asio.h @@ -100,6 +100,19 @@ PaError PaAsio_GetOutputChannelName( PaDeviceIndex device, int channelIndex, 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) typedef struct PaAsioStreamInfo{ -- 2.43.0