amuse/lib/Voice.cpp

37 lines
808 B
C++
Raw Normal View History

#include "amuse/Voice.hpp"
#include "amuse/IBackendVoice.hpp"
namespace amuse
{
2016-05-06 05:19:19 +00:00
Voice::Voice(Engine& engine, const AudioGroup& group, int vid, bool emitter)
: Entity(engine, group), m_vid(vid), m_emitter(emitter)
{}
Voice::Voice(Engine& engine, const AudioGroup& group, ObjectId oid, int vid, bool emitter)
: Entity(engine, group, oid), m_vid(vid), m_emitter(emitter)
{}
void Voice::_destroy()
{
Entity::_destroy();
if (m_prevSibling)
m_prevSibling->m_nextSibling = m_nextSibling;
if (m_nextSibling)
m_nextSibling->m_prevSibling = m_prevSibling;
}
size_t Voice::supplyAudio(size_t frames, int16_t* data)
{
}
2016-05-06 05:19:19 +00:00
Voice* Voice::startSiblingMacro(int8_t addNote, ObjectId macroId, int macroStep)
{
}
bool Voice::loadSoundMacro(ObjectId macroId, int macroStep, bool pushPc)
{
}
}