diff --git a/src/sfizz/AudioSpan.h b/src/sfizz/AudioSpan.h index 8f9f0228..23c9d340 100644 --- a/src/sfizz/AudioSpan.h +++ b/src/sfizz/AudioSpan.h @@ -148,8 +148,8 @@ public: * @tparam Alignment the alignment block size for the platform * @param audioBuffer the source AudioBuffer. */ - template ::type, typename = typename std::enable_if::value, int>::type> - AudioSpan(AudioBuffer& audioBuffer) + template ::type, typename = typename std::enable_if::value, int>::type> + AudioSpan(AudioBuffer& audioBuffer) : numFrames(audioBuffer.getNumFrames()) , numChannels(audioBuffer.getNumChannels()) { @@ -169,8 +169,8 @@ public: * @tparam Alignment the alignment block size for the platform * @param audioBuffer the source AudioBuffer. */ - template > - AudioSpan(AudioBuffer& audioBuffer) + template > + AudioSpan(AudioBuffer& audioBuffer) : numFrames(audioBuffer.getNumFrames()) , numChannels(audioBuffer.getNumChannels()) {