/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ syntax = "proto2"; package com.android.tv.tuner.data; option java_package = "com.android.tv.tuner.data"; option java_outer_classname = "Track"; // Represents a AC3 audio track. message AtscAudioTrack { optional string language = 1; optional AudioType audio_type = 2; optional int32 index = 3; optional int32 channel_count = 4; optional int32 sample_rate = 5; // Enum describing the types of a audio track. // See ISO/IEC 138181-1:2000(e) Table 2-53. enum AudioType { AUDIOTYPE_UNDEFINED = 0; AUDIOTYPE_CLEAN_EFFECTS = 1; AUDIOTYPE_HEARING_IMPAIRED = 2; AUDIOTYPE_VISUAL_IMPAIRED = 3; } } // Represents a CEA-708 caption track. message AtscCaptionTrack { optional string language = 1; optional int32 service_number = 2; optional bool easy_reader = 3; optional bool wide_aspect_ratio = 4; }