author | Paul Adenot <paul@paul.cx> |
Wed, 04 May 2016 13:28:50 +0200 | |
changeset 296051 | 369a5ee3a2880a4a98df3a00bf3db8d8f36b181b |
parent 296050 | 311c7ea8803d326cec715404256c86beb8af3804 |
child 296064 | bf7a7e5b7a7d45f8b6b5d135d9f8453a6b60d7d7 |
child 296124 | c4f86ad95de8bd9bb32727f7221e5d57e6ec1bfd |
push id | 30231 |
push user | paul@paul.cx |
push date | Wed, 04 May 2016 11:30:22 +0000 |
treeherder | mozilla-central@369a5ee3a288 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | Tomcat |
bugs | 1270062 |
milestone | 49.0a1 |
first release with | nightly linux32
369a5ee3a288
/
49.0a1
/
20160504043118
/
files
nightly linux64
369a5ee3a288
/
49.0a1
/
20160504043118
/
files
nightly mac
369a5ee3a288
/
49.0a1
/
20160504043118
/
files
nightly win32
369a5ee3a288
/
49.0a1
/
20160504043118
/
files
nightly win64
369a5ee3a288
/
49.0a1
/
20160504043118
/
files
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
releases | nightly linux32
49.0a1
/
20160504043118
/
pushlog to previous
nightly linux64
49.0a1
/
20160504043118
/
pushlog to previous
nightly mac
49.0a1
/
20160504043118
/
pushlog to previous
nightly win32
49.0a1
/
20160504043118
/
pushlog to previous
nightly win64
49.0a1
/
20160504043118
/
pushlog to previous
|
--- a/media/libcubeb/src/cubeb_wasapi.cpp +++ b/media/libcubeb/src/cubeb_wasapi.cpp @@ -643,17 +643,17 @@ bool get_input_buffer(cubeb_stream * stm if (FAILED(hr)) { LOG("FAILED to release intput buffer"); return false; } offset += packet_size * input_channel_count; } assert(stm->linear_input_buffer.length() >= total_available_input && - offset == total_available_input); + offset == total_available_input * input_channel_count); return true; } /* Get an output buffer from the render_client. It has to be released before * exiting the callback. */ bool get_output_buffer(cubeb_stream * stm, size_t max_frames, float *& buffer, size_t & frame_count) {