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

◆ remove_audio_sink()

template<typename Entity>
requires requires(Entity& entity, Buffers::BufferManager& manager, uint32_t channel) { entity.remove_audio_sink(manager, channel); }
void MayaFlux::remove_audio_sink ( const std::shared_ptr< Entity > & entity,
uint32_t channel )

Unregister the audio output of an Agent or Emitter on channel.

Needed only for an entity outside a Fabric; a Fabric releases the sinks of the entities it removes.

Definition at line 96 of file Stagecraft.hpp.

97{
98 entity->remove_audio_sink(*get_buffer_manager(), channel);
99}
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:148

References get_buffer_manager().

Here is the call graph for this function: