Changeset 63

Show
Ignore:
Timestamp:
02/02/03 01:29:32 (6 years ago)
Author:
rossbencina
Message:

added method for retrieving callback buffer size possibile proposal

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pa_proposals/trunk/possibilities.html

    r53 r63  
    1818<P><A href="index.html">Enhancement Proposals Index</A>, 
    1919<A href="http://www.portaudio.com/">PortAudio Home Page</A></P> 
    20 <P>Updated: October 22, 2002 </P> 
     20<P>Updated: February 2, 2003 </P> 
    2121 
    2222<H4>Overview</H4> 
     
    4040 
    4141 
     42<H4>Method for Retrieving Actual Callback Buffer Size</H4> 
     43 
     44<P> 
     45In V19, using paFramesPerBufferUnspecified (0) for the framesPerBuffer parameter to Pa_OpenStream() is recommended so that PortAudio uses an optimal (and possibly varying) number of frames. Some clients could benefit from being able to discover what this buffer size, or what the range of possible buffer sizes is. This could be handled by adding an additional field to PaStreamInfo called bufferSize, which is the callback buffer size in frames, or 0 if the buffer size is variable or unknown. Another possibility is to have both a minBufferSize and maxBufferSize field. 
     46</P> 
     47 
     48 
    4249</BODY> 
    4350</HTML>