diff options
author | Paul Adenot <[email protected]> | 2017-10-03 13:38:45 +0200 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2017-10-03 13:38:45 +0200 |
commit | 40cd4ad03b68a215e985979c96783824f19e288f (patch) | |
tree | 259bf0b4ce46649bb16562cbe8dacc0f1e1b0293 /src/cubeb_resampler.cpp | |
parent | ba2a89611875cd9f2dabae99a362461b03c0dd3d (diff) | |
download | cubeb-40cd4ad03b68a215e985979c96783824f19e288f.tar.gz cubeb-40cd4ad03b68a215e985979c96783824f19e288f.zip |
Fix warning as errors.
Diffstat (limited to 'src/cubeb_resampler.cpp')
-rw-r--r-- | src/cubeb_resampler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cubeb_resampler.cpp b/src/cubeb_resampler.cpp index dc054d5..786d013 100644 --- a/src/cubeb_resampler.cpp +++ b/src/cubeb_resampler.cpp @@ -35,6 +35,11 @@ to_speex_quality(cubeb_resampler_quality q) } } +uint32_t min_buffered_audio_frame(uint32_t sample_rate) +{ + return sample_rate / 20; +} + template<typename T> passthrough_resampler<T>::passthrough_resampler(cubeb_stream * s, cubeb_data_callback cb, |