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

Side by Side Diff: ppapi/cpp/dev/audio_input_dev.h

Issue 115343006: Pepper: Remove unused interface versions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/c/dev/ppb_video_capture_dev.h ('k') | ppapi/cpp/dev/audio_input_dev.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 #ifndef PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_
6 #define PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ 6 #define PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 /// If |device_ref| is null (i.e., is_null() returns true), the default device 43 /// If |device_ref| is null (i.e., is_null() returns true), the default device
44 /// will be used. 44 /// will be used.
45 /// 45 ///
46 /// Requires <code>PPB_AudioInput_Dev</code> version 0.4 or up. 46 /// Requires <code>PPB_AudioInput_Dev</code> version 0.4 or up.
47 int32_t Open(const DeviceRef_Dev& device_ref, 47 int32_t Open(const DeviceRef_Dev& device_ref,
48 const AudioConfig& config, 48 const AudioConfig& config,
49 PPB_AudioInput_Callback audio_input_callback, 49 PPB_AudioInput_Callback audio_input_callback,
50 void* user_data, 50 void* user_data,
51 const CompletionCallback& callback); 51 const CompletionCallback& callback);
52 52
53 /// Requires <code>PPB_AudioInput_Dev</code> version 0.2 or 0.3. 53 /// Requires <code>PPB_AudioInput_Dev</code> version 0.3.
54 int32_t Open(const DeviceRef_Dev& device_ref, 54 int32_t Open(const DeviceRef_Dev& device_ref,
55 const AudioConfig& config, 55 const AudioConfig& config,
56 PPB_AudioInput_Callback_0_2 audio_input_callback_0_2, 56 PPB_AudioInput_Callback_0_3 audio_input_callback_0_3,
57 void* user_data, 57 void* user_data,
58 const CompletionCallback& callback); 58 const CompletionCallback& callback);
59 59
60 bool StartCapture(); 60 bool StartCapture();
61 bool StopCapture(); 61 bool StopCapture();
62 void Close(); 62 void Close();
63 }; 63 };
64 64
65 } // namespace pp 65 } // namespace pp
66 66
67 #endif // PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ 67 #endif // PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_video_capture_dev.h ('k') | ppapi/cpp/dev/audio_input_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698