boo/lib/audiodev/IAudioHost.hpp

26 lines
562 B
C++

#ifndef BOO_IAUDIOHOST_HPP
#define BOO_IAUDIOHOST_HPP
#include <list>
namespace boo
{
class AudioVoiceEngineMixInfo;
class AudioVoice;
class AudioSubmix;
/** Entity that mixes audio from several child sources (engine root or submix) */
class IAudioHost
{
friend class AudioVoice;
friend class AudioSubmix;
virtual void _unbindFrom(std::list<AudioVoice*>::iterator it)=0;
virtual void _unbindFrom(std::list<AudioSubmix*>::iterator it)=0;
public:
virtual const AudioVoiceEngineMixInfo& mixInfo() const=0;
};
}
#endif // BOO_IAUDIOHOST_HPP