Add API for reporting submix sample rate and format

This commit is contained in:
Jack Andersen
2016-05-13 18:47:31 -10:00
parent 4a74a0ad7c
commit 89b0fa5cd6
3 changed files with 34 additions and 3 deletions

View File

@@ -61,12 +61,11 @@ public:
bool dynamicPitch=false);
std::unique_ptr<IAudioSubmix> allocateNewSubmix(IAudioSubmixCallback* cb=nullptr);
void setChannelGains(const float gains[8]);
void unbindSubmix();
const AudioVoiceEngineMixInfo& mixInfo() const;
double getSampleRate() const;
SubmixFormat getSampleFormat() const;
};
}