Logo Search packages:      
Sourcecode: lastfm version File versions  Download package

void RtAudio::openStream ( int  outputDevice,
int  outputChannels,
int  inputDevice,
int  inputChannels,
RtAudioFormat  format,
int  sampleRate,
int *  bufferSize,
int *  numberOfBuffers 

A public method for opening a stream and also returning numberOfBuffers parameter via pointer argument.

See the previous function call for details. This overloaded version differs only in that it takes a pointer argument for the numberOfBuffers parameter and returns the value used by the audio device (which may be different from that requested). Note that the numberofBuffers parameter is not used with the Linux Jack, Macintosh CoreAudio, and Windows ASIO APIs.

Definition at line 156 of file RtAudio.cpp.

  rtapi_->openStream( outputDevice, outputChannels, inputDevice,
                      inputChannels, format, sampleRate,
                      bufferSize, *numberOfBuffers );

Generated by  Doxygen 1.6.0   Back to index