Fix surround sound channel mapping on ALSA

This commit is contained in:
Cameron Gutman 2018-10-01 18:46:16 -07:00
commit 209b4a1b02
6 changed files with 58 additions and 7 deletions

View file

@ -10,6 +10,8 @@ class IAudioRenderer
public:
virtual ~IAudioRenderer() {}
virtual void adjustOpusChannelMapping(OPUS_MULTISTREAM_CONFIGURATION* opusConfig) const = 0;
virtual bool prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION* opusConfig) = 0;
virtual void submitAudio(short* audioBuffer, int audioSize) = 0;