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

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

Issue 6281007: Remove dev/audio, dev/audio_config, and dev/audio_trusted... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/cpp/dev/audio_config_dev.cc ('k') | ppapi/cpp/dev/audio_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
(Empty)
1 // Copyright (c) 2010 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_DEV_H_
6 #define PPAPI_CPP_DEV_AUDIO_DEV_H_
7
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/dev/ppb_audio_dev.h"
10 #include "ppapi/cpp/dev/audio_config_dev.h"
11 #include "ppapi/cpp/dev/buffer_dev.h"
12 #include "ppapi/cpp/instance.h"
13 #include "ppapi/cpp/resource.h"
14
15 namespace pp {
16
17 class Audio_Dev : public Resource {
18 public:
19 Audio_Dev() {}
20 Audio_Dev(Instance* instance,
21 const AudioConfig_Dev& config,
22 PPB_Audio_Callback callback,
23 void* user_data);
24
25 AudioConfig_Dev& config() { return config_; }
26 const AudioConfig_Dev& config() const { return config_; }
27
28 bool StartPlayback();
29 bool StopPlayback();
30
31 private:
32 AudioConfig_Dev config_;
33 };
34
35 } // namespace pp
36
37 #endif // PPAPI_CPP_DEV_AUDIO_DEV_H_
38
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/audio_config_dev.cc ('k') | ppapi/cpp/dev/audio_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698