Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Issue 22320004: Add a new parameter |latency| to PPB_Audio. (Closed)

Created:
7 years, 4 months ago by yzshen1
Modified:
7 years, 3 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, yzshen+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, raymes+watch_chromium.org, piman+watch_chromium.org, miu+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Add a new parameter |latency| to PPB_Audio. This CL updates the version of PPB_Audio and PPB_Audio_Callback. BUG=240900 TEST=updated test_audio.{h,cc} Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221788

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -123 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 1 chunk +15 lines, -5 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_output.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/pepper/ppb_audio_impl.h View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M content/renderer/pepper/ppb_audio_impl.cc View 1 2 5 chunks +12 lines, -10 lines 0 comments Download
M content/renderer/pepper/resource_creation_impl.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/resource_creation_impl.cc View 1 2 3 4 2 chunks +14 lines, -2 lines 0 comments Download
M ppapi/api/ppb_audio.idl View 1 2 3 2 chunks +9 lines, -3 lines 0 comments Download
M ppapi/c/ppb_audio.h View 5 chunks +28 lines, -4 lines 0 comments Download
M ppapi/cpp/audio.h View 1 2 chunks +15 lines, -3 lines 0 comments Download
M ppapi/cpp/audio.cc View 1 2 chunks +36 lines, -5 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_audio_proxy.h View 1 2 chunks +6 lines, -5 lines 0 comments Download
M ppapi/proxy/ppb_audio_proxy.cc View 1 5 chunks +5 lines, -4 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 2 chunks +12 lines, -2 lines 0 comments Download
M ppapi/shared_impl/ppb_audio_config_shared.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/shared_impl/ppb_audio_shared.h View 1 6 chunks +27 lines, -2 lines 0 comments Download
M ppapi/shared_impl/ppb_audio_shared.cc View 1 8 chunks +54 lines, -13 lines 0 comments Download
M ppapi/tests/test_audio.h View 2 chunks +18 lines, -5 lines 0 comments Download
M ppapi/tests/test_audio.cc View 12 chunks +77 lines, -51 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_stable.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_audio_thunk.cc View 4 chunks +26 lines, -2 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
yzshen1
Hi, Dale and David. Would you please take a look? Dale: please look at how ...
7 years, 4 months ago (2013-08-05 23:37:20 UTC) #1
DaleCurtis
usage and api lgtm
7 years, 4 months ago (2013-08-05 23:52:23 UTC) #2
dmichael (off chromium)
https://codereview.chromium.org/22320004/diff/1/content/renderer/pepper/ppb_audio_impl.cc File content/renderer/pepper/ppb_audio_impl.cc (right): https://codereview.chromium.org/22320004/diff/1/content/renderer/pepper/ppb_audio_impl.cc#newcode161 content/renderer/pepper/ppb_audio_impl.cc:161: EnterResourceNoLock<PPB_AudioConfig_API> enter(config_, true); I think this could fail if ...
7 years, 4 months ago (2013-08-06 19:43:25 UTC) #3
yzshen1
Thanks David! Please take another look. https://codereview.chromium.org/22320004/diff/1/content/renderer/pepper/ppb_audio_impl.cc File content/renderer/pepper/ppb_audio_impl.cc (right): https://codereview.chromium.org/22320004/diff/1/content/renderer/pepper/ppb_audio_impl.cc#newcode161 content/renderer/pepper/ppb_audio_impl.cc:161: EnterResourceNoLock<PPB_AudioConfig_API> enter(config_, true); ...
7 years, 4 months ago (2013-08-07 20:51:06 UTC) #4
dmichael (off chromium)
lgtm, thanks! https://chromiumcodereview.appspot.com/22320004/diff/1/content/renderer/pepper/ppb_audio_impl.cc File content/renderer/pepper/ppb_audio_impl.cc (right): https://chromiumcodereview.appspot.com/22320004/diff/1/content/renderer/pepper/ppb_audio_impl.cc#newcode161 content/renderer/pepper/ppb_audio_impl.cc:161: EnterResourceNoLock<PPB_AudioConfig_API> enter(config_, true); On 2013/08/07 20:51:06, yzshen1 ...
7 years, 4 months ago (2013-08-07 21:11:37 UTC) #5
dmichael (off chromium)
Oh, I think noelallen will want to look at this. I think he might be ...
7 years, 4 months ago (2013-08-07 21:13:02 UTC) #6
yzshen1
On 2013/08/07 21:13:02, dmichael wrote: > Oh, I think noelallen will want to look at ...
7 years, 4 months ago (2013-08-07 21:17:53 UTC) #7
noelallen_use_chromium
WRT api... The API seems okay. If you are interested in latency data, you request ...
7 years, 4 months ago (2013-08-07 23:23:10 UTC) #8
DaleCurtis
Latency indicates the amount of time until any data returned during this call will be ...
7 years, 4 months ago (2013-08-08 00:32:01 UTC) #9
noelallen_use_chromium
To clarify, my question is not about the accuracy at the moment the delta is ...
7 years, 4 months ago (2013-08-08 01:19:03 UTC) #10
DaleCurtis
The latency information is delivered via a SyncSocket and not an IPC, so it should ...
7 years, 4 months ago (2013-08-08 01:25:49 UTC) #11
DaleCurtis
We don't have an automated test for latency, but it's pretty noticeable when it goes ...
7 years, 4 months ago (2013-08-08 01:27:07 UTC) #12
yzshen1
Thanks, Noel and Dale! (And sorry for late reply.) WRT the question about delta v.s. ...
7 years, 4 months ago (2013-08-08 17:23:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/22320004/85001
7 years, 3 months ago (2013-09-05 23:27:55 UTC) #14
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-05 23:36:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/22320004/102001
7 years, 3 months ago (2013-09-06 17:23:52 UTC) #16
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 21:46:39 UTC) #17
Message was sent while issue was closed.
Change committed as 221788

Powered by Google App Engine
This is Rietveld 408576698