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

Audio file loading and container management 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::IO
 
namespace  MayaFlux::Kakshya
 
namespace  MayaFlux::Buffers
 

Functions

std::shared_ptr< MayaFlux::Kakshya::SoundFileContainerMayaFlux::load_audio_file (const std::string &filepath)
 Loads an audio file into a SoundFileContainer with automatic format detection.
 
std::vector< std::shared_ptr< Buffers::ContainerBuffer > > MayaFlux::hook_sound_container_to_buffers (const std::shared_ptr< MayaFlux::Kakshya::SoundFileContainer > &container)
 Connects a SoundFileContainer to the buffer system for immediate playback.
 
template<typename ContainerType , typename... Args>
requires std::derived_from<ContainerType, Kakshya::SignalSourceContainer>
auto MayaFlux::create_container (Args &&... args) -> std::shared_ptr< ContainerType >
 creates a new container of the specified type
 
std::shared_ptr< Buffers::TextureBufferMayaFlux::load_image_file (const std::string &filepath)
 Loads an image file into a TextureBuffer.
 
MAYAFLUX_API bool MayaFlux::is_audio (const std::filesystem::path &filepath)
 Checks if the given file is an audio file based on its extension.
 
MAYAFLUX_API bool MayaFlux::is_image (const std::filesystem::path &filepath)
 Checks if the given file is an image file based on its extension.
 

Detailed Description

Audio file loading and container management API.

This header provides high-level functions for loading audio files and integrating them with the MayaFlux buffer system. It handles file format detection, audio data extraction, and automatic buffer setup for immediate playback or processing.

Definition in file Depot.hpp.