#pragma once #include "renderer.h" #include class SLAudioRenderer : public IAudioRenderer { public: SLAudioRenderer(); virtual ~SLAudioRenderer(); virtual bool prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION* opusConfig); virtual bool submitAudio(short* audioBuffer, int audioSize); private: CSLAudioContext* m_AudioContext; CSLAudioStream* m_AudioStream; };