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

Unified Diff: ppapi/cpp/dev/audio_input_dev.h

Issue 8138008: Implementation of ppapi audio. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/dev/audio_input_dev.h
===================================================================
--- ppapi/cpp/dev/audio_input_dev.h (revision 0)
+++ ppapi/cpp/dev/audio_input_dev.h (revision 0)
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_
+#define PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_
+
+#include "ppapi/c/dev/ppb_audio_input_dev.h"
+#include "ppapi/cpp/resource.h"
+
+namespace pp {
+
+class Instance;
+
+class AudioInput_Dev : public Resource {
+ public:
+ /// An empty constructor for an AudioInput resource.
+ AudioInput_Dev() {}
+
+ AudioInput_Dev(Instance* instance,
+ PPB_AudioInput_Callback callback,
+ void* user_data);
+
+ bool StartCapture();
+ bool StopCapture();
+};
+
+} // namespace pp
+
+#endif // PPAPI_CPP_DEV_AUDIO_INPUT_DEV_H_
Property changes on: ppapi/cpp/dev/audio_input_dev.h
___________________________________________________________________
Added: svn:executable
+ *

Powered by Google App Engine
This is Rietveld 408576698