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

◆ register_container() [1/2]

MAYAFLUX_API void MayaFlux::register_container ( const std::shared_ptr< Kakshya::SoundFileContainer > &  container,
const Domain &  domain 
)

Definition at line 107 of file Creator.cpp.

108{
109 if (auto sound_container = std::dynamic_pointer_cast<Kakshya::SoundFileContainer>(container)) {
110 if (domain == Domain::AUDIO && get_io_manager()->get_audio_buffers(sound_container).empty()) {
111 (void)get_io_manager()->hook_audio_container_to_buffers(sound_container);
112 }
113 }
114}
std::shared_ptr< IO::IOManager > get_io_manager()
Retrieves the global IOManager instance for file loading and buffer management.
Definition Depot.cpp:575

References AUDIO, and get_io_manager().

Referenced by operator|(), and operator|().

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