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

Side by Side Diff: ppapi/cpp/audio.h

Issue 6279003: Move ppapi audio interface out of dev, but... (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/c/trusted/ppb_audio_trusted.h ('k') | ppapi/cpp/audio.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
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_AUDIO_H_
6 #define PPAPI_CPP_AUDIO_H_
7
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/ppb_audio.h"
10 #include "ppapi/cpp/audio_config.h"
11 #include "ppapi/cpp/instance.h"
12 #include "ppapi/cpp/resource.h"
13
14 namespace pp {
15
16 class Audio : public Resource {
17 public:
18 Audio() {}
19 Audio(Instance* instance,
20 const AudioConfig& config,
21 PPB_Audio_Callback callback,
22 void* user_data);
23
24 AudioConfig& config() { return config_; }
25 const AudioConfig& config() const { return config_; }
26
27 bool StartPlayback();
28 bool StopPlayback();
29
30 private:
31 AudioConfig config_;
32 };
33
34 } // namespace pp
35
36 #endif // PPAPI_CPP_AUDIO_H_
37
OLDNEW
« no previous file with comments | « ppapi/c/trusted/ppb_audio_trusted.h ('k') | ppapi/cpp/audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698