OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [DartPackage="mojo_services"] |
| 6 module mojo.media; |
| 7 |
| 8 // Expresses a component's disposition with respect to being a clock master or |
| 9 // slave. |
| 10 enum ClockDisposition { |
| 11 // Clocks are irrelevant. Component will produce/consume on demand. |
| 12 PASSIVE, |
| 13 |
| 14 // Component must slave to a master clock. |
| 15 SLAVE, |
| 16 |
| 17 // Component can be master or slave, but being slave is preferred. |
| 18 PREFER_SLAVE, |
| 19 |
| 20 // Component can be master or slave, doesn't care which. |
| 21 INDIFFERENT, |
| 22 |
| 23 // Component can be master or slave, but master is preferred. |
| 24 PREFER_MASTER, |
| 25 |
| 26 // Component must be master and cannot slave to a master clock. |
| 27 MASTER |
| 28 }; |
| 29 |
| 30 interface Clock { |
| 31 // TODO(dalesat): Define this. |
| 32 }; |
OLD | NEW |