| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MEDIA_STREAM_AUDIO_TRACK_H_ | 5 #ifndef PPAPI_CPP_MEDIA_STREAM_AUDIO_TRACK_H_ |
| 6 #define PPAPI_CPP_MEDIA_STREAM_AUDIO_TRACK_H_ | 6 #define PPAPI_CPP_MEDIA_STREAM_AUDIO_TRACK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/c/ppb_media_stream_audio_track.h" | 12 #include "ppapi/c/ppb_media_stream_audio_track.h" |
| 11 #include "ppapi/cpp/resource.h" | 13 #include "ppapi/cpp/resource.h" |
| 12 #include "ppapi/cpp/var.h" | 14 #include "ppapi/cpp/var.h" |
| 13 | 15 |
| 14 /// @file | 16 /// @file |
| 15 /// This file defines the <code>MediaStreamAudioTrack</code> interface for an | 17 /// This file defines the <code>MediaStreamAudioTrack</code> interface for an |
| 16 /// audio source resource, which receives audio buffers from a MediaStream audio | 18 /// audio source resource, which receives audio buffers from a MediaStream audio |
| 17 /// track in the browser. | 19 /// track in the browser. |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 /// | 137 /// |
| 136 /// @param[in] resource A <code>Resource</code> to test. | 138 /// @param[in] resource A <code>Resource</code> to test. |
| 137 /// | 139 /// |
| 138 /// @return True if <code>resource</code> is a MediaStream audio track. | 140 /// @return True if <code>resource</code> is a MediaStream audio track. |
| 139 static bool IsMediaStreamAudioTrack(const Resource& resource); | 141 static bool IsMediaStreamAudioTrack(const Resource& resource); |
| 140 }; | 142 }; |
| 141 | 143 |
| 142 } // namespace pp | 144 } // namespace pp |
| 143 | 145 |
| 144 #endif // PPAPI_CPP_MEDIA_STREAM_AUDIO_TRACK_H_ | 146 #endif // PPAPI_CPP_MEDIA_STREAM_AUDIO_TRACK_H_ |
| OLD | NEW |