|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Core::RtAudioStream::RtAudioStream | ( | RtAudio * | context, |
| unsigned int | output_device_id, | ||
| unsigned int | input_device_id, | ||
| const GlobalStreamInfo & | streamInfo, | ||
| void * | userData | ||
| ) |
Initializes an audio stream with the specified configuration.
| context | Pointer to an active RtAudio instance |
| output_device_id | System identifier for the target audio output device |
| input_device_id | System identifier for the target audio input device |
| streamInfo | Configuration parameters for the audio stream |
| userData | Optional context pointer passed to callbacks |
Creates an audio stream configuration but does not open the stream. The stream must be explicitly opened with open() before use.
Definition at line 132 of file RtAudioBackend.cpp.
References MayaFlux::Core::GlobalStreamInfo::ChannelConfig::channels, configure_stream_options(), m_in_parameters, m_out_parameters, and MayaFlux::Core::GlobalStreamInfo::output.
Here is the call graph for this function: