Closed kuba-- closed 5 months ago
Hardcoded:
kBytesPerSample = 2; kChannels = 2;
Does not follow webrtc assert in AudioTransportImpl::NeedMorePlayData:
AudioTransportImpl::NeedMorePlayData
RTC_DCHECK_EQ(sizeof(int16_t) * nChannels, nBytesPerSample);
so the fix follows the same convention as we have in webrtc AudioDeviceBuffer::RequestPlayoutData:
AudioDeviceBuffer::RequestPlayoutData
const size_t bytes_per_frame = play_channels_ * sizeof(int16_t);
Hardcoded:
Does not follow webrtc assert in
AudioTransportImpl::NeedMorePlayData
:so the fix follows the same convention as we have in webrtc
AudioDeviceBuffer::RequestPlayoutData
: