Bug 1448883 - Resync with cubeb 7401fc25a9d. r=padenot

MozReview-Commit-ID: 1Lg0fpsSa10

--HG--
extra : rebase_source : 46d1fac5453a7425705b2c4c97940abaf11fe2d4
This commit is contained in:
Jean-Yves Avenard 2018-03-26 18:07:10 +02:00
Родитель da131c9f9b
Коммит fa6a33a217
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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 7712aaabfa140e8c7fe890e3f5f65dfe3fe58632 (2018-03-25 11:30:38 +0200)
The git commit ID used was 7401fc25a9d87ed57d49648883e3e5658305c1cb (2018-03-26 16:54:01 +0200)

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

@ -68,7 +68,7 @@ validate_stream_params(cubeb_stream_params * input_stream_params,
XASSERT(input_stream_params || output_stream_params);
if (output_stream_params) {
if (output_stream_params->rate < 1000 || output_stream_params->rate > 192000 ||
output_stream_params->channels < 1 || output_stream_params->channels > 8) {
output_stream_params->channels < 1) {
return CUBEB_ERROR_INVALID_FORMAT;
}
}