Skip to content

Commit

Permalink
miniaudio: Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Oct 21, 2024
1 parent 7f754c4 commit 231de5f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source/include/signalflow/node/io/output/abstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*-------------------------------------------------------------------------------*/
Expand Down

0 comments on commit 231de5f

Please sign in to comment.