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

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

#include <RtAudioBackend.hpp>

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

Public Member Functions

 RtAudioDevice (RtAudio *context)
 Initializes the device manager with an RtAudio context.
 
std::vector< DeviceInfoget_output_devices () const override
 Retrieves information about all available output devices.
 
std::vector< DeviceInfoget_input_devices () const override
 Retrieves information about all available input devices.
 
unsigned int get_default_output_device () const override
 Gets the system's primary output device identifier.
 
unsigned int get_default_input_device () const override
 Gets the system's primary input device identifier.
 
- Public Member Functions inherited from MayaFlux::Core::AudioDevice
virtual ~AudioDevice ()=default
 Virtual destructor for proper cleanup of derived classes.
 

Private Attributes

RtAudio * m_context
 Pointer to the underlying RtAudio context.
 
std::vector< DeviceInfom_output_devices
 Cached list of output devices.
 
std::vector< DeviceInfom_input_devices
 Cached list of input devices.
 
unsigned int m_defaultOutputDevice
 System identifier for the default output device.
 
unsigned int m_defaultInputDevice
 System identifier for the default input device.
 

Detailed Description

RtAudio implementation of the audio device interface.

Provides device enumeration and information services using the RtAudio API. Maintains cached device lists to improve performance for repeated device queries.

Definition at line 147 of file RtAudioBackend.hpp.


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