mirror of https://github.com/AxioDL/amuse.git
37 lines
650 B
C++
37 lines
650 B
C++
#include "amuse/Submix.hpp"
|
|
|
|
namespace amuse
|
|
{
|
|
|
|
void Submix::_destroy()
|
|
{
|
|
m_destroyed = true;
|
|
if (m_submix)
|
|
m_submix->m_activeSubmixes.erase(this);
|
|
}
|
|
|
|
Submix::Submix(Engine& engine, Submix* smx)
|
|
: m_root(engine), m_submix(smx)
|
|
{
|
|
if (m_submix)
|
|
m_submix->m_activeSubmixes.insert(this);
|
|
}
|
|
|
|
bool Submix::canApplyEffect() const
|
|
{
|
|
}
|
|
|
|
void Submix::applyEffect(int16_t* audio, const ChannelMap& chanMap, double sampleRate) const
|
|
{
|
|
}
|
|
|
|
void Submix::applyEffect(int32_t* audio, const ChannelMap& chanMap, double sampleRate) const
|
|
{
|
|
}
|
|
|
|
void Submix::applyEffect(float* audio, const ChannelMap& chanMap, double sampleRate) const
|
|
{
|
|
}
|
|
|
|
}
|