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

◆ process_input()

int MayaFlux::Core::AudioSubsystem::process_input ( double *  input_buffer,
unsigned int  num_frames 
)

Processes input data from audio interface.

Parameters
input_bufferPointer to interleaved input data
num_framesNumber of frames to process
Returns
Status code (0 for success)

Handles incoming audio data from the audio interface, converting from interleaved format and routing to appropriate buffer channels for processing.

Definition at line 127 of file AudioSubsystem.cpp.

128{
129 m_handle->buffers.process_input(input_buffer, m_stream_info.input.channels, num_frames);
130 return 0;
131}
GlobalStreamInfo m_stream_info
Audio stream configuration.
SubsystemProcessingHandle * m_handle
Reference to processing handle.
void process_input(double *input_data, uint32_t num_channels, uint32_t num_frames)
@brienf Process Input from backend into buffer manager
BufferProcessingHandle buffers
Buffer processing interface.
uint32_t channels
Number of discrete channels in this set.
ChannelConfig input
Configuration for input signal channels (disabled by default)

References MayaFlux::Core::SubsystemProcessingHandle::buffers, MayaFlux::Core::GlobalStreamInfo::ChannelConfig::channels, MayaFlux::Core::GlobalStreamInfo::input, m_handle, m_stream_info, and MayaFlux::Core::BufferProcessingHandle::process_input().

Referenced by process_audio(), and register_callbacks().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: