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

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

Issue 9288006: Minor changes as per Christians most-recent review of the docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_AUDIO_H_ 5 #ifndef PPAPI_CPP_AUDIO_H_
6 #define PPAPI_CPP_AUDIO_H_ 6 #define PPAPI_CPP_AUDIO_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/ppb_audio.h" 9 #include "ppapi/c/ppb_audio.h"
10 #include "ppapi/cpp/audio_config.h" 10 #include "ppapi/cpp/audio_config.h"
11 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
12 12
13 /// @file 13 /// @file
14 /// This file defines the API to create realtime stereo audio streaming 14 /// This file defines the API to create realtime stereo audio streaming
15 /// capabilities. 15 /// capabilities.
16 16
17 namespace pp { 17 namespace pp {
18 18
19 class InstanceHandle; 19 class InstanceHandle;
20 20
21 /// An audio resource. Refer to the 21 /// An audio resource. Refer to the
22 <<<<<<< .mine
23 /// <a href="/native-client/{{pepperversion}}/devguide/coding/audio">Audio</a>
24 /// chapter in the Developer's Guide for information on using this interface.
25 =======
22 /// <a href="/native-client/devguide/coding/audio">Audio</a> 26 /// <a href="/native-client/devguide/coding/audio">Audio</a>
23 /// chapter in the Developer's Guide for information on using this interface. 27 /// chapter in the Developer's Guide for information on using this interface.
28 >>>>>>> .r122520
24 class Audio : public Resource { 29 class Audio : public Resource {
25 public: 30 public:
26 31
27 /// An empty constructor for an Audio resource. 32 /// An empty constructor for an Audio resource.
28 Audio() {} 33 Audio() {}
29 34
30 /// A constructor that creates an Audio resource. No sound will be heard 35 /// A constructor that creates an Audio resource. No sound will be heard
31 /// until StartPlayback() is called. The callback is called with the buffer 36 /// until StartPlayback() is called. The callback is called with the buffer
32 /// address and given user data whenever the buffer needs to be filled. 37 /// address and given user data whenever the buffer needs to be filled.
33 /// From within the callback, you should not call <code>PPB_Audio</code> 38 /// From within the callback, you should not call <code>PPB_Audio</code>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 bool StopPlayback(); 83 bool StopPlayback();
79 84
80 private: 85 private:
81 AudioConfig config_; 86 AudioConfig config_;
82 }; 87 };
83 88
84 } // namespace pp 89 } // namespace pp
85 90
86 #endif // PPAPI_CPP_AUDIO_H_ 91 #endif // PPAPI_CPP_AUDIO_H_
87 92
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698