MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Core::RtAudioBackend Class Reference

RtAudio implementation of the audio backend interface. More...

#include <RtAudioBackend.hpp>

+ Inheritance diagram for MayaFlux::Core::RtAudioBackend:
+ Collaboration diagram for MayaFlux::Core::RtAudioBackend:

Public Member Functions

 RtAudioBackend ()
 Initializes the RtAudio backend.
 
 ~RtAudioBackend () override
 Cleans up the RtAudio backend.
 
std::unique_ptr< AudioDevicecreate_device_manager () override
 Creates an RtAudio-specific device manager.
 
std::unique_ptr< AudioStreamcreate_stream (unsigned int output_device_id, unsigned int input_device_id, const GlobalStreamInfo &stream_info, void *user_data) override
 Creates an RtAudio-specific audio stream.
 
std::string get_version_string () const override
 Retrieves the RtAudio library version.
 
int get_api_type () const override
 Retrieves the RtAudio API type identifier.
 
RtAudio & get_context_reference ()
 Provides safe access to the RtAudio context.
 
void cleanup () override
 Releases all resources held by the backend.
 
- Public Member Functions inherited from MayaFlux::Core::IAudioBackend
virtual ~IAudioBackend ()=default
 Virtual destructor for proper cleanup of derived classes.
 

Private Attributes

RtAudio * m_context
 Pointer to the underlying RtAudio context.
 

Detailed Description

RtAudio implementation of the audio backend interface.

Provides a concrete implementation of the IAudioBackend interface using the RtAudio cross-platform audio I/O library. This class manages the lifecycle of the RtAudio context and serves as a factory for RtAudio-specific device and stream implementations.

Definition at line 50 of file RtAudioBackend.hpp.


The documentation for this class was generated from the following files: