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 // Protocol buffer for Media Remoting. | 5 // Protocol buffer for Media Remoting. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 enum SampleFormat { | 70 enum SampleFormat { |
71 kUnknownSampleFormat = 0; | 71 kUnknownSampleFormat = 0; |
72 kSampleFormatU8 = 1; | 72 kSampleFormatU8 = 1; |
73 kSampleFormatS16 = 2; | 73 kSampleFormatS16 = 2; |
74 kSampleFormatS32 = 3; | 74 kSampleFormatS32 = 3; |
75 kSampleFormatF32 = 4; | 75 kSampleFormatF32 = 4; |
76 kSampleFormatPlanarS16 = 5; | 76 kSampleFormatPlanarS16 = 5; |
77 kSampleFormatPlanarF32 = 6; | 77 kSampleFormatPlanarF32 = 6; |
78 kSampleFormatPlanarS32 = 7; | 78 kSampleFormatPlanarS32 = 7; |
79 kSampleFormatS24 = 8; | 79 kSampleFormatS24 = 8; |
| 80 kSampleFormatAc3 = 9; |
| 81 kSampleFormatEac3 = 10; |
80 }; | 82 }; |
81 | 83 |
82 // Should align with ::media::ChannelLayout | 84 // Should align with ::media::ChannelLayout |
83 enum ChannelLayout { | 85 enum ChannelLayout { |
84 CHANNEL_LAYOUT_NONE = 0; | 86 CHANNEL_LAYOUT_NONE = 0; |
85 CHANNEL_LAYOUT_UNSUPPORTED = 1; | 87 CHANNEL_LAYOUT_UNSUPPORTED = 1; |
86 CHANNEL_LAYOUT_MONO = 2; | 88 CHANNEL_LAYOUT_MONO = 2; |
87 CHANNEL_LAYOUT_STEREO = 3; | 89 CHANNEL_LAYOUT_STEREO = 3; |
88 CHANNEL_LAYOUT_2_1 = 4; | 90 CHANNEL_LAYOUT_2_1 = 4; |
89 CHANNEL_LAYOUT_SURROUND = 5; | 91 CHANNEL_LAYOUT_SURROUND = 5; |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 | 572 |
571 // RPC_CDMC_ONSESSIONMESSAGE | 573 // RPC_CDMC_ONSESSIONMESSAGE |
572 CdmClientOnSessionMessage cdmclient_onsessionmessage_rpc = 601; | 574 CdmClientOnSessionMessage cdmclient_onsessionmessage_rpc = 601; |
573 // RPC_CDMC_ONSESSIONKEYSCHANGE | 575 // RPC_CDMC_ONSESSIONKEYSCHANGE |
574 CdmClientOnSessionKeysChange cdmclient_onsessionkeychange_rpc = 602; | 576 CdmClientOnSessionKeysChange cdmclient_onsessionkeychange_rpc = 602; |
575 // RPC_CDMC_ONSESSIONEXPIRATIONUPDATE | 577 // RPC_CDMC_ONSESSIONEXPIRATIONUPDATE |
576 CdmClientOnSessionExpirationUpdate cdmclient_onsessionexpirationupdate_rpc = | 578 CdmClientOnSessionExpirationUpdate cdmclient_onsessionexpirationupdate_rpc = |
577 603; | 579 603; |
578 }; | 580 }; |
579 } | 581 } |
OLD | NEW |