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

◆ is_compatible_with()

bool MayaFlux::Buffers::ChannelProcessor::is_compatible_with ( std::shared_ptr< Buffer buffer) const
overridevirtual

Checks compatibility with a specific buffer type.

Parameters
bufferBuffer to check compatibility with
Returns
True if compatible (buffer is RootAudioBuffer), false otherwise

Reimplemented from MayaFlux::Buffers::BufferProcessor.

Definition at line 75 of file RootAudioBuffer.cpp.

76{
77 auto root_audio_buffer = std::dynamic_pointer_cast<RootAudioBuffer>(buffer);
78 return root_audio_buffer != nullptr;
79}