|
Support audio output device enumeration and selection in PPAPI
- Keep the current |PPB_Audio| interface unchanged
- Add a new dev interface: |PPB_AudioOutput_Dev|
- Implement |PPB_AudioOutput_Dev| using the typical HostResource
implementations like |PPB_AudioInput_Dev|
- Add ppapi/proxy/audio_output_resource.h/cc etc. to implement
|AudioOutputResource|
- Add content/renderer/pepper/pepper_audio_output_host.h/cc etc.
to implement |PepperAudioOutputHost|
- Keep ppb_audio_proxy.h/cc, ppb_audio_shared.h/cc, ppb_audio_impl.h/cc
unchanged, so that the current |PPB_Audio| will not be affected.
- Modify content/renderer/pepper/pepper_platform_audio_output.h/cc to
accept both |AudioHelper| and |PepperAudioOutputHost| clients
- The way to implement |PepperAudioOutputHost| is borrowed from
"media/audio/audio_output_device.cc" where audio output selection isi
supported for javascript.
- Add necessary IPC message definitions for |PPB_AudioOutput_Dev|
BUG= 701584
R= bbudge@chromium.org, tsepez@chromium.org, isherman@chromium.org
Review-Url: https://codereview.chromium.org/2755613002
Cr-Commit-Position: refs/heads/master@{#462889}
Committed: https://chromium.googlesource.com/chromium/src/+/3a2a470eed665050d284f1e5dd0e7a1c4949d190
Total comments: 28
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2409 lines, -17 lines) |
Patch |
|
M |
chrome/common/ppapi_utils.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/content_renderer_pepper_host_factory.cc
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_audio_controller.h
|
View
|
1
2
3
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_audio_controller.cc
|
View
|
1
2
3
4
|
5 chunks |
+48 lines, -8 lines |
0 comments
|
Download
|
|
A |
content/renderer/pepper/pepper_audio_output_host.h
|
View
|
1
2
3
|
1 chunk |
+97 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/pepper/pepper_audio_output_host.cc
|
View
|
1
2
3
|
1 chunk |
+265 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_media_device_manager.cc
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
A |
content/renderer/pepper/pepper_platform_audio_output_dev.h
|
View
|
1
2
3
|
1 chunk |
+162 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/pepper/pepper_platform_audio_output_dev.cc
|
View
|
1
2
3
|
1 chunk |
+407 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/plugin_module.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/resource_creation_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/resource_creation_impl.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/api/dev/ppb_audio_output_dev.idl
|
View
|
1
2
3
4
|
1 chunk |
+229 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/api/dev/ppb_device_ref_dev.idl
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/c/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/c/dev/ppb_audio_output_dev.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+249 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/c/dev/ppb_device_ref_dev.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
ppapi/c/pp_macros.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ppapi/cpp/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/cpp/dev/audio_output_dev.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/cpp/dev/audio_output_dev.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
View
|
|
7 chunks |
+71 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/proxy/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/proxy/audio_output_resource.h
|
View
|
1
2
3
|
1 chunk |
+149 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/proxy/audio_output_resource.cc
|
View
|
1
2
3
|
1 chunk |
+318 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/interface_list.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/resource_creation_proxy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/resource_creation_proxy.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/api_id.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/resource.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/thunk/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/thunk/interfaces_ppb_public_dev.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/thunk/ppb_audio_output_api.h
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/thunk/ppb_audio_output_dev_thunk.cc
|
View
|
1
2
3
4
|
1 chunk |
+116 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/thunk/resource_creation_api.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 54 (26 generated)
|