Bug 1405258 - Update libcubeb to 40cd4ad0 to fix warnings as errors bustage.

MozReview-Commit-ID: 53knVqcswLX

--HG--
extra : rebase_source : 7379c68360a6004da1afcea920195e5dbca4f9c0
This commit is contained in:
Paul Adenot 2017-10-03 13:40:00 +02:00
Родитель 3ed2bea304
Коммит 6298126ac4
3 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -5,4 +5,4 @@ Makefile.in build files for the Mozilla build system.
The cubeb git repository is: git://github.com/kinetiknz/cubeb.git
The git commit ID used was ba2a89611875cd9f2dabae99a362461b03c0dd3d (2017-10-03 11:34:20 +0200)
The git commit ID used was 40cd4ad03b68a215e985979c96783824f19e288f (2017-10-03 13:38:45 +0200)

Просмотреть файл

@ -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,

Просмотреть файл

@ -38,17 +38,13 @@ MOZ_END_STD_NAMESPACE
#include <stdio.h>
/* This header file contains the internal C++ API of the resamplers, for testing. */
namespace {
// When dropping audio input frames to prevent building
// an input delay, this function returns the number of frames
// to keep in the buffer.
// @parameter sample_rate The sample rate of the stream.
// @return A number of frames to keep.
uint32_t min_buffered_audio_frame(uint32_t sample_rate)
{
return sample_rate / 20;
}
}
uint32_t min_buffered_audio_frame(uint32_t sample_rate);
int to_speex_quality(cubeb_resampler_quality q);