- improvements

This commit is contained in:
2018-06-05 11:28:34 +03:00
parent e1a4931375
commit 14fb3bbdbf
2 changed files with 9 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ int ChannelConverter::monoToStereo(const void *source, int sourceLength, void *d
}
#if defined(USE_WEBRTC_RESAMPLER)
Resampler48kTo16k::Resampler48kTo16k()
{
WebRtcSpl_ResetResample48khzTo16khz(&mContext);
@@ -199,6 +200,8 @@ int Resampler16kto48k::process(const void *source, int sourceLen, void *dest, in
return sourceLen * 3;
}
#endif
// ---------------- UniversalResampler -------------------
UniversalResampler::UniversalResampler()
{