Bug 1426719 - Update cubeb from upstream to e1e8337. r=jesup

MozReview-Commit-ID: E0eHOl3zA0a

--HG--
extra : rebase_source : 679f4125e1966382ea20fc8095a5b29370c22f19
This commit is contained in:
Alex Chronopoulos 2017-12-21 21:25:40 +02:00
Родитель 033d6b32fc
Коммит 2fee2a59fa
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -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 a88bf027a27038feedca386efe5801350832dd91 (2017-12-07 16:23:55 +0200)
The git commit ID used was e1e8337c43d2c99ba88e9b7fc2da82238c8fb4b4 (2017-12-21 21:11:57 +0200)

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

@ -1142,7 +1142,7 @@ stream_set_volume(cubeb_stream * stm, float volume)
uint32_t channels;
HRESULT hr = stm->audio_stream_volume->GetChannelCount(&channels);
if (hr != S_OK) {
if (FAILED(hr)) {
LOG("could not get the channel count: %lx", hr);
return CUBEB_ERROR;
}
@ -1158,7 +1158,7 @@ stream_set_volume(cubeb_stream * stm, float volume)
}
hr = stm->audio_stream_volume->SetAllVolumes(channels, volumes);
if (hr != S_OK) {
if (FAILED(hr)) {
LOG("could not set the channels volume: %lx", hr);
return CUBEB_ERROR;
}