2016-05-07 22:10:57 +00:00
|
|
|
#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);
|
|
|
|
}
|
|
|
|
|
2016-05-09 07:22:58 +00:00
|
|
|
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
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-05-07 22:10:57 +00:00
|
|
|
}
|