diff --git a/media/libcubeb/src/cubeb_wasapi.cpp b/media/libcubeb/src/cubeb_wasapi.cpp index 207cc07b4d6a..7491e556242d 100644 --- a/media/libcubeb/src/cubeb_wasapi.cpp +++ b/media/libcubeb/src/cubeb_wasapi.cpp @@ -648,7 +648,7 @@ bool get_input_buffer(cubeb_stream * stm) } assert(stm->linear_input_buffer.length() >= total_available_input && - offset == total_available_input); + offset == total_available_input * input_channel_count); return true; }