MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Core.hpp File Reference

Core engine lifecycle and configuration API. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Core
 

Functions

bool MayaFlux::is_initialized ()
 Checks if the default engine has been initialized.
 
Core::EngineMayaFlux::get_context ()
 Gets the default engine instance.
 
void MayaFlux::set_and_transfer_context (Core::Engine instance)
 Replaces the default engine with a new instance.
 
void MayaFlux::Init (uint32_t sample_rate, uint32_t buffer_size=512, uint32_t num_out_channels=2, uint32_t num_in_channels=0)
 Initializes the default engine with specified parameters.
 
void MayaFlux::Init ()
 Initializes the default engine with default settings.
 
void MayaFlux::Init (Core::GlobalStreamInfo stream_info)
 Initializes the default engine with specified stream info.
 
void MayaFlux::Init (Core::GlobalStreamInfo stream_info, Core::GlobalGraphicsConfig graphics_config)
 Initializes the default engine with specified stream and graphics info.
 
void MayaFlux::Start ()
 Starts audio processing on the default engine.
 
void MayaFlux::Pause ()
 Pauses audio processing on the default engine.
 
void MayaFlux::Resume ()
 Resumes audio processing on the default engine.
 
void MayaFlux::End ()
 Stops and cleans up the default engine.
 

Detailed Description

Core engine lifecycle and configuration API.

This header provides the fundamental engine control and configuration functions that form the foundation of the MayaFlux framework. All other subsystems depend on the engine being properly initialized and configured.

The Core API handles:

  • Engine initialization with various stream configurations
  • Engine lifecycle management (Start, Pause, Resume, End)
  • Access to core engine context and configuration
  • Global stream information queries

This is typically the first API users interact with when setting up a MayaFlux application, and other API modules depend on these functions for accessing engine subsystems.

Definition in file Core.hpp.