#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: static void slLogCallback(void* context, ESLAudioLog logLevel, const char* message); CSLAudioContext* m_AudioContext; CSLAudioStream* m_AudioStream; };