DescriptionIt seems that snd_pcm_hw_params_set_* API does not work well any more in the latest ubuntu like 12.04. My tests show that it will freeze the pulseaudio for a while and get into underrun state. And it seems snd_pcm_set_params works better for the same purpose.
This patch also fixes the choppy audio issue for webrtc in ubuntu 12.04.
BUG=152232, 153505
TEST=use pepper flash (./out/Debug/chrome -ppapi-flash-path=/your/path/libpepflashplayer.so)
open link http://www.youtube.com/watch?v=F7pYHN9iC9I&feature=youtu.be in two tabs, audio should be good.
uses apprtc.appspot.com to make a loopback call and verify the audio is good on ubuntu 12.04
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159680
Patch Set 1 #
Total comments: 2
Patch Set 2 : used the passed variable #Messages
Total messages: 9 (0 generated)
|