DescriptionFix the choppiness for the pulse impl when using a smaller buffer size like 512 samples.
The audio using pulse can be choppy when the buffer size is small. It is simply because we do not feed the data quick enough.
The patch check if the available space in the driver, if it is more than a packet, it will call FulfillWriteRequest immediately to fill the buffer.
TEST=enable pulse, using https://webrtc-demos.appspot.com/html/pc1.html to make a call, make sure the audio is smooth.
Patch Set 1 #
Total comments: 4
Messages
Total messages: 6 (0 generated)
|