OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SINK_H_ | 5 #ifndef MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SINK_H_ |
6 #define MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SINK_H_ | 6 #define MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SINK_H_ |
7 | 7 |
8 #include "services/media/framework/models/demand.h" | 8 #include "services/media/framework/models/demand.h" |
9 #include "services/media/framework/models/part.h" | 9 #include "services/media/framework/models/part.h" |
10 #include "services/media/framework/packet.h" | 10 #include "services/media/framework/packet.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 // Sets the host callback interface. | 39 // Sets the host callback interface. |
40 virtual void SetHost(ActiveMultistreamSinkHost* host) = 0; | 40 virtual void SetHost(ActiveMultistreamSinkHost* host) = 0; |
41 | 41 |
42 // Supplies a packet to the sink, returning the new demand for the input. | 42 // Supplies a packet to the sink, returning the new demand for the input. |
43 virtual Demand SupplyPacket(size_t input_index, PacketPtr packet) = 0; | 43 virtual Demand SupplyPacket(size_t input_index, PacketPtr packet) = 0; |
44 }; | 44 }; |
45 | 45 |
46 } // namespace media | 46 } // namespace media |
47 } // namespace mojo | 47 } // namespace mojo |
48 | 48 |
49 #endif // MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SINK_H_ | 49 #endif // MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SINK_H_ |
OLD | NEW |