From: rbencina Date: Sun, 11 Nov 2012 13:27:22 +0000 (+0000) Subject: clarified and corrected comment X-Git-Tag: pa_stable_v19_20140130_r1919~26 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=b054f44292d3fb2e4647b10da954b00501d1f1f2;p=portaudio clarified and corrected comment --- diff --git a/src/hostapi/asio/pa_asio.cpp b/src/hostapi/asio/pa_asio.cpp index b2528b0..9bf94ab 100644 --- a/src/hostapi/asio/pa_asio.cpp +++ b/src/hostapi/asio/pa_asio.cpp @@ -1751,7 +1751,7 @@ static unsigned long SelectHostBufferSizeForSpecifiedUserFramesPerBuffer( do { if( (x % userFramesPerBuffer) == 0 ) { - /* any power-of-two multiple of userFramesPerBuffer is acceptable */ + /* any multiple of userFramesPerBuffer is acceptable */ result = x; if( result >= targetBufferingLatencyFrames ) break; /* stop. a value >= to targetBufferingLatencyFrames is ideal. */ @@ -1774,7 +1774,7 @@ static unsigned long SelectHostBufferSizeForSpecifiedUserFramesPerBuffer( do { if( (x % userFramesPerBuffer) == 0 ) { - /* any power-of-two multiple of userFramesPerBuffer is acceptable */ + /* any multiple of userFramesPerBuffer is acceptable */ result = x; if( result >= targetBufferingLatencyFrames ) break; /* stop. a value >= to targetBufferingLatencyFrames is ideal. */