summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_tests.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 19:03:19 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 19:03:19 +0000
commitffbdb354dc57a938943478fd391a7cc49b4f8649 (patch)
treefc55eab45538dd79b9215241ffa9502b6ad5c895 /ipc/ipc_tests.h
parente202c44a3e224dfd090d80a01648db1d07093418 (diff)
downloadchromium_src-ffbdb354dc57a938943478fd391a7cc49b4f8649.zip
chromium_src-ffbdb354dc57a938943478fd391a7cc49b4f8649.tar.gz
chromium_src-ffbdb354dc57a938943478fd391a7cc49b4f8649.tar.bz2
Fix audio "clicking" for strongbad demo
The strongbad demo plays an audio file of 11kHz. However we hardcoded in the AudioRendererHost to always open an audio device of 8k samples which happens to be too big for streams of 11khz. This makes the IPC transport packet size much smaller than the hardware buffer size and hardware packet is always partially filled. This change allow the AudioRendererHost to designate the transport packet size based on the hardware packet size. The hardware packet size is now adjusted based on the sample rate. BUG=46007 TEST=http://smokescreen.us/demos/sb45demo.html The above audio plays fine. Review URL: http://codereview.chromium.org/2651001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_tests.h')
0 files changed, 0 insertions, 0 deletions