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

◆ register_container()

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

Definition at line 84 of file Creator.cpp.

85{
86 if (auto sound_container = std::dynamic_pointer_cast<Kakshya::SoundFileContainer>(container)) {
87 if (domain == Domain::AUDIO) {
88 s_last_created_container_buffers.clear();
89 s_last_created_container_buffers = hook_sound_container_to_buffers(sound_container);
90 }
91 }
92}
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.
Definition Depot.cpp:84

References AUDIO, hook_sound_container_to_buffers(), and s_last_created_container_buffers.

Referenced by MayaFlux::CreationHandle< T >::apply_container_context().

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