OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ |
| 6 #define PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ |
| 7 |
| 8 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| 9 #include "ppapi/cpp/resource.h" |
| 10 |
| 11 namespace pp { |
| 12 |
| 13 class Instance; |
| 14 |
| 15 class AudioInput_Dev : public Resource { |
| 16 public: |
| 17 /// An empty constructor for an AudioInput resource. |
| 18 AudioInput_Dev() {} |
| 19 |
| 20 AudioInput_Dev(Instance* instance, |
| 21 PPB_AudioInput_Callback callback, |
| 22 void* user_data); |
| 23 |
| 24 bool StartCapture(); |
| 25 bool StopCapture(); |
| 26 }; |
| 27 |
| 28 } // namespace pp |
| 29 |
| 30 #endif // PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_ |
OLD | NEW |