Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Issue 8138008: Implementation of ppapi audio. (Closed)

Created:
9 years, 2 months ago by seriesrover
Modified:
9 years, 1 month ago
Reviewers:
brettw, ilja, viettrungluu
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, darin-cc_chromium.org, dpranke+watch-content_chromium.org, yzshen+watch_chromium.org, dpranke-watch+content_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Microphone support for Pepper Flash. This change supports audio capture from the microphone and supplies the data through a Pepper interface. Its enumeration is limited to the default audio device that uses mono 44.1kHz.

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 13

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 26

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 9

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : Microphone support for Pepper Flash. #

Patch Set 21 : '' #

Patch Set 22 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1985 lines, -80 lines) Patch
M content/renderer/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +181 lines, -0 lines 0 comments Download
A ppapi/api/dev/ppb_audio_input_dev.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +94 lines, -0 lines 0 comments Download
A ppapi/api/trusted/ppb_audio_input_trusted_dev.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +54 lines, -0 lines 0 comments Download
A ppapi/c/dev/ppb_audio_input_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +112 lines, -0 lines 0 comments Download
A ppapi/c/trusted/ppb_audio_input_trusted_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +69 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/audio_input_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +49 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/audio_input_dev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +45 lines, -0 lines 0 comments Download
M ppapi/ppapi_cpp.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +22 lines, -0 lines 1 comment Download
A ppapi/proxy/ppb_audio_input_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +87 lines, -0 lines 0 comments Download
A ppapi/proxy/ppb_audio_input_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +338 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +7 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +17 lines, -0 lines 0 comments Download
M ppapi/shared_impl/api_id.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
A ppapi/shared_impl/audio_input_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +89 lines, -0 lines 0 comments Download
A ppapi/shared_impl/audio_input_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +96 lines, -0 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_audio_input_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +34 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_audio_input_thunk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +75 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_audio_input_trusted_thunk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +68 lines, -0 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +7 lines, -1 line 0 comments Download
M ppapi/thunk/thunk.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/audio_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +62 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/audio_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +97 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +35 lines, -0 lines 1 comment Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_audio_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +7 lines, -15 lines 0 comments Download
M webkit/plugins/ppapi/ppb_audio_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +19 lines, -63 lines 0 comments Download
A webkit/plugins/ppapi/ppb_audio_input_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +89 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/ppb_audio_input_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +168 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +6 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
ilja
There are two places where you picked up stuff from other changes. Please clean these ...
9 years, 2 months ago (2011-10-11 21:17:03 UTC) #1
brettw
Just poking at it, I noticed a few spacing nits. Sending these separately before I ...
9 years, 2 months ago (2011-10-12 19:33:13 UTC) #2
brettw
http://codereview.chromium.org/8138008/diff/31007/content/renderer/pepper_plugin_delegate_impl.cc File content/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/8138008/diff/31007/content/renderer/pepper_plugin_delegate_impl.cc#newcode382 content/renderer/pepper_plugin_delegate_impl.cc:382: //TODO(peterb) need to add This should be cleaned up ...
9 years, 2 months ago (2011-10-12 20:39:34 UTC) #3
seriesrover
> webkit/plugins/ppapi/ppb_audio_input_impl.cc:124: int32_t > PPB_AudioInput_Impl::GetSyncSocket(int* sync_socket) { > These 3 functions are exactly copied from ...
9 years, 2 months ago (2011-10-12 22:57:09 UTC) #4
brettw
Since it seems like we agreed this won't make the branch, let's refactor now, it ...
9 years, 2 months ago (2011-10-14 20:32:52 UTC) #5
viettrungluu
http://codereview.chromium.org/8138008/diff/31007/webkit/plugins/ppapi/ppb_audio_input_impl.cc File webkit/plugins/ppapi/ppb_audio_input_impl.cc (right): http://codereview.chromium.org/8138008/diff/31007/webkit/plugins/ppapi/ppb_audio_input_impl.cc#newcode124 webkit/plugins/ppapi/ppb_audio_input_impl.cc:124: int32_t PPB_AudioInput_Impl::GetSyncSocket(int* sync_socket) { What Brett said here still ...
9 years, 1 month ago (2011-11-02 21:03:07 UTC) #6
seriesrover
Yup, and I've got that as a todo - shouldn't take long. Patch Set 9 ...
9 years, 1 month ago (2011-11-03 16:03:02 UTC) #7
viettrungluu
Some more comments.... http://codereview.chromium.org/8138008/diff/59013/content/renderer/pepper_plugin_delegate_impl.cc File content/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/8138008/diff/59013/content/renderer/pepper_plugin_delegate_impl.cc#newcode38 content/renderer/pepper_plugin_delegate_impl.cc:38: #include "content/renderer/media/audio_input_message_filter.h" Nit: alphabetical order http://codereview.chromium.org/8138008/diff/59013/content/renderer/pepper_plugin_delegate_impl.cc#newcode428 ...
9 years, 1 month ago (2011-11-08 00:41:54 UTC) #8
seriesrover
AudioHelper class: making it a member is going to be tricky since there isn't a ...
9 years, 1 month ago (2011-11-08 04:08:46 UTC) #9
viettrungluu
At this point, the headers under ppapi/c really should be generated from .idl files. (Tests ...
9 years, 1 month ago (2011-11-10 19:31:57 UTC) #10
viettrungluu
I meant to add: Otherwise, it looks okay. But it needs to be rebased, run ...
9 years, 1 month ago (2011-11-10 21:05:12 UTC) #11
seriesrover
So Ilja and I have cleaned up and synced to top of tree; created the ...
9 years, 1 month ago (2011-11-15 04:52:48 UTC) #12
viettrungluu
I'll take another look tomorrow and try to get it landed. In terms of testing, ...
9 years, 1 month ago (2011-11-15 06:16:42 UTC) #13
ilja
I had linking problems when building Chrome in CrOS. They went away after adding OVERRIDE ...
9 years, 1 month ago (2011-11-15 20:13:55 UTC) #14
viettrungluu
Mostly LGTM. I patched it in and uploaded it as http://codereview.chromium.org/8138008/ . - I made ...
9 years, 1 month ago (2011-11-16 01:08:33 UTC) #15
ilja
9 years, 1 month ago (2011-11-16 01:41:03 UTC) #16

Powered by Google App Engine
This is Rietveld 408576698