Support for runtime changing of audio output endpoint under WASAPI

This commit is contained in:
Jack Andersen
2016-05-31 18:53:57 -10:00
parent faafbb2d3f
commit 521b490d0f
5 changed files with 218 additions and 54 deletions

View File

@@ -58,6 +58,9 @@ struct IAudioSubmixCallback
const ChannelMap& chanMap, double sampleRate) const=0;
virtual void applyEffect(float* audio, size_t frameCount,
const ChannelMap& chanMap, double sampleRate) const=0;
/** Notify of output sample rate changes (for instance, changing the default audio device on Windows) */
virtual void resetOutputSampleRate(double sampleRate)=0;
};
}