38MAYAFLUX_API std::shared_ptr<MayaFlux::Kakshya::SoundFileContainer>
load_audio_file(
const std::string& filepath);
50MAYAFLUX_API std::vector<std::shared_ptr<Buffers::ContainerBuffer>>
hook_sound_container_to_buffers(
const std::shared_ptr<MayaFlux::Kakshya::SoundFileContainer>& container);
59template <
typename ContainerType,
typename... Args>
60 requires std::derived_from<ContainerType, Kakshya::SignalSourceContainer>
63 return std::make_shared<ContainerType>(std::forward<Args>(args)...);
74MAYAFLUX_API std::shared_ptr<Buffers::TextureBuffer>
load_image_file(
const std::string& filepath);
81MAYAFLUX_API
bool is_audio(
const std::filesystem::path& filepath);
88MAYAFLUX_API
bool is_image(
const std::filesystem::path& filepath);
AudioBuffer implementation backed by a StreamContainer.
A hybrid buffer managing both a textured quad geometry and its pixel data.
FFmpeg-based audio file reader for MayaFlux.
Data-driven interface for managing arbitrary processable signal sources.
File-backed audio container with complete streaming functionality.
std::shared_ptr< MayaFlux::Kakshya::SoundFileContainer > load_audio_file(const std::string &filepath)
Loads an audio file into a SoundFileContainer with automatic format detection.
bool is_image(const fs::path &filepath)
bool is_audio(const fs::path &filepath)
std::shared_ptr< Buffers::TextureBuffer > load_image_file(const std::string &filepath)
Loads an image file into a TextureBuffer.
auto create_container(Args &&... args) -> std::shared_ptr< ContainerType >
creates a new container of the specified type
std::vector< std::shared_ptr< Buffers::ContainerBuffer > > hook_sound_container_to_buffers(const std::shared_ptr< MayaFlux::Kakshya::SoundFileContainer > &container)
Connects a SoundFileContainer to the buffer system for immediate playback.
Main namespace for the Maya Flux audio engine.