]> Repos - portaudio/commitdiff
clarified and corrected comment
authorrbencina <rbencina@0f58301d-fd10-0410-b4af-bbb618454e57>
Sun, 11 Nov 2012 13:27:22 +0000 (13:27 +0000)
committerrbencina <rbencina@0f58301d-fd10-0410-b4af-bbb618454e57>
Sun, 11 Nov 2012 13:27:22 +0000 (13:27 +0000)
src/hostapi/asio/pa_asio.cpp

index b2528b03d21e87825c1f159803efe59059215803..9bf94ab490dd995f8457154136a1e7f5ed15b4e2 100644 (file)
@@ -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. */