MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ create_stream()

virtual std::unique_ptr< AudioStream > MayaFlux::Core::IAudioBackend::create_stream ( unsigned int  output_device_id,
unsigned int  input_device_id,
const GlobalStreamInfo stream_info,
void *  user_data 
)
pure virtual

Creates an audio stream for a specific device.

Parameters
output_device_idSystem identifier for the target audio output device
input_device_idSystem identifier for the target audio input device
stream_infoConfiguration parameters for the audio stream
user_dataOptional context pointer passed to callbacks
Returns
Unique pointer to an AudioStream implementation

Establishes a digital audio pipeline between the application and the specified hardware endpoint with the requested configuration.

Implemented in MayaFlux::Core::RtAudioBackend.