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

Side by Side Diff: ppapi/proxy/audio_input_resource.cc

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/shared_memory_support.gypi ('k') | ppapi/shared_impl/ppb_audio_shared.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/proxy/audio_input_resource.h" 5 #include "ppapi/proxy/audio_input_resource.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/numerics/safe_conversions.h" 9 #include "base/numerics/safe_conversions.h"
10 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
11 #include "media/audio/audio_parameters.h"
12 #include "media/base/audio_bus.h" 11 #include "media/base/audio_bus.h"
12 #include "media/base/audio_parameters.h"
13 #include "ppapi/c/pp_errors.h" 13 #include "ppapi/c/pp_errors.h"
14 #include "ppapi/proxy/ppapi_messages.h" 14 #include "ppapi/proxy/ppapi_messages.h"
15 #include "ppapi/proxy/resource_message_params.h" 15 #include "ppapi/proxy/resource_message_params.h"
16 #include "ppapi/proxy/serialized_handle.h" 16 #include "ppapi/proxy/serialized_handle.h"
17 #include "ppapi/shared_impl/ppapi_globals.h" 17 #include "ppapi/shared_impl/ppapi_globals.h"
18 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 18 #include "ppapi/shared_impl/ppb_audio_config_shared.h"
19 #include "ppapi/shared_impl/resource_tracker.h" 19 #include "ppapi/shared_impl/resource_tracker.h"
20 #include "ppapi/shared_impl/tracked_callback.h" 20 #include "ppapi/shared_impl/tracked_callback.h"
21 #include "ppapi/thunk/enter.h" 21 #include "ppapi/thunk/enter.h"
22 #include "ppapi/thunk/ppb_audio_config_api.h" 22 #include "ppapi/thunk/ppb_audio_config_api.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 device_id, enter_config.object()->GetSampleRate(), 343 device_id, enter_config.object()->GetSampleRate(),
344 enter_config.object()->GetSampleFrameCount()); 344 enter_config.object()->GetSampleFrameCount());
345 Call<PpapiPluginMsg_AudioInput_OpenReply>( 345 Call<PpapiPluginMsg_AudioInput_OpenReply>(
346 RENDERER, msg, 346 RENDERER, msg,
347 base::Bind(&AudioInputResource::OnPluginMsgOpenReply, 347 base::Bind(&AudioInputResource::OnPluginMsgOpenReply,
348 base::Unretained(this))); 348 base::Unretained(this)));
349 return PP_OK_COMPLETIONPENDING; 349 return PP_OK_COMPLETIONPENDING;
350 } 350 }
351 } // namespace proxy 351 } // namespace proxy
352 } // namespace ppapi 352 } // namespace ppapi
OLDNEW
« no previous file with comments | « media/shared_memory_support.gypi ('k') | ppapi/shared_impl/ppb_audio_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698