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

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

Issue 7617018: Small changes such as spacing and adding [in/out] identifiers after @params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | ppapi/cpp/core.h » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 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 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"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 AudioConfig& config() { return config_; } 57 AudioConfig& config() { return config_; }
58 58
59 /// Getter function for returning the internal <code>PPB_AudioConfig</code> 59 /// Getter function for returning the internal <code>PPB_AudioConfig</code>
60 /// struct. 60 /// struct.
61 /// 61 ///
62 /// @return A const reference to the internal <code>PPB_AudioConfig</code> 62 /// @return A const reference to the internal <code>PPB_AudioConfig</code>
63 /// struct. 63 /// struct.
64 const AudioConfig& config() const { return config_; } 64 const AudioConfig& config() const { return config_; }
65 65
66 /// StartPlayback() starts playback of audio. 66 /// StartPlayback() starts playback of audio.
67 ///
68 /// @return true if successful, otherwise false.
67 bool StartPlayback(); 69 bool StartPlayback();
68 70
69 /// StopPlayback stops playback of audio. 71 /// StopPlayback stops playback of audio.
72 ///
73 /// @return true if successful, otherwise false.
70 bool StopPlayback(); 74 bool StopPlayback();
71 75
72 private: 76 private:
73 AudioConfig config_; 77 AudioConfig config_;
74 }; 78 };
75 79
76 } // namespace pp 80 } // namespace pp
77 81
78 #endif // PPAPI_CPP_AUDIO_H_ 82 #endif // PPAPI_CPP_AUDIO_H_
79 83
OLDNEW
« no previous file with comments | « no previous file | ppapi/cpp/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698