diff --git a/source/include/signalflow/node/io/output/abstract.h b/source/include/signalflow/node/io/output/abstract.h index 2b4e130c..c6b6c6a4 100644 --- a/source/include/signalflow/node/io/output/abstract.h +++ b/source/include/signalflow/node/io/output/abstract.h @@ -26,10 +26,16 @@ class AudioOut_Abstract : public Node virtual void set_channels(int num_input_channels, int num_output_channels); + /**-------------------------------------------------------------------------------- + * Returns the audio output's sample rate. Note that this may not be the + * same as the audio hardware's sample rate if the user has specified + * a non-zero sample rate in AudioGraphConfig. + *-------------------------------------------------------------------------------*/ unsigned int get_sample_rate(); /**-------------------------------------------------------------------------------- - * Returns the buffer size required by the audio hardware. + * Returns the buffer size observed by the audio HAL. Note that this is + * served by miniaudio. * * @return The buffer size, in frames. *-------------------------------------------------------------------------------*/