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 module mojo { | 5 module mojo; |
6 | 6 |
7 // See media/base/buffering_state.h for descriptions. | 7 // See media/base/buffering_state.h for descriptions. |
8 // Kept in sync with media::BufferingState via COMPILE_ASSERTs. | 8 // Kept in sync with media::BufferingState via COMPILE_ASSERTs. |
9 enum BufferingState { | 9 enum BufferingState { |
10 HAVE_NOTHING, | 10 HAVE_NOTHING, |
11 HAVE_ENOUGH, | 11 HAVE_ENOUGH, |
12 }; | 12 }; |
13 | 13 |
14 // See media/base/audio_decoder_config.h for descriptions. | 14 // See media/base/audio_decoder_config.h for descriptions. |
15 // Kept in sync with media::AudioCodec via COMPILE_ASSERTs. | 15 // Kept in sync with media::AudioCodec via COMPILE_ASSERTs. |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. | 117 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. |
118 int64 splice_timestamp_usec; | 118 int64 splice_timestamp_usec; |
119 | 119 |
120 // The payload. Invalid handle indicates an end-of-stream (EOS) buffer. | 120 // The payload. Invalid handle indicates an end-of-stream (EOS) buffer. |
121 // TODO(tim): This currently results in allocating a new, largeish DataPipe | 121 // TODO(tim): This currently results in allocating a new, largeish DataPipe |
122 // for each buffer. Remove this once framed data pipes exist, but using this | 122 // for each buffer. Remove this once framed data pipes exist, but using this |
123 // for now for prototyping audio. | 123 // for now for prototyping audio. |
124 handle<data_pipe_consumer>? data; | 124 handle<data_pipe_consumer>? data; |
125 }; | 125 }; |
126 | |
127 } // module mojo | |
OLD | NEW |