OLD | NEW |
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 <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 12 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
11 #include "ppapi/cpp/audio_config.h" | 13 #include "ppapi/cpp/audio_config.h" |
12 #include "ppapi/cpp/completion_callback.h" | 14 #include "ppapi/cpp/completion_callback.h" |
13 #include "ppapi/cpp/dev/device_ref_dev.h" | 15 #include "ppapi/cpp/dev/device_ref_dev.h" |
14 #include "ppapi/cpp/resource.h" | 16 #include "ppapi/cpp/resource.h" |
15 | 17 |
16 namespace pp { | 18 namespace pp { |
17 | 19 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const CompletionCallback& callback); | 60 const CompletionCallback& callback); |
59 | 61 |
60 bool StartCapture(); | 62 bool StartCapture(); |
61 bool StopCapture(); | 63 bool StopCapture(); |
62 void Close(); | 64 void Close(); |
63 }; | 65 }; |
64 | 66 |
65 } // namespace pp | 67 } // namespace pp |
66 | 68 |
67 #endif // PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ | 69 #endif // PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ |
OLD | NEW |