00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiAudioOutputConfiguration.idl 00005 * 00006 * This file was created by the Motorola IDL backend, 00007 * which is based on the OmniORB IDL parser. 00008 * Please do not modify. 00009 * 00010 * Copyright (c) 2009 Motorola Inc. All Rights Reserved. 00011 * 00012 *-------------------------------------------------------------------- 00013 */ 00014 00015 #ifndef TOIAUDIOOUTPUTCONFIGURATION_IDL 00016 #define TOIAUDIOOUTPUTCONFIGURATION_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiInvalidPreconditionException.idl" 00020 #include "TToiOperationNotSupportedException.idl" 00021 #include "TToiUnhandledValueException.idl" 00022 #include "ToiApplicationService.idl" 00023 #include "ToiAudioOutputService.idl" 00024 //@ [Struct(Interface=IToiAudioOutputConfiguration,Name=TToiManufacturerInfo)] 00025 interface ToiAudioOutputConfigurationManufacturerInfo; 00026 //@ [Struct(Interface=IToiAudioOutputConfiguration,Name=TToiHdmiSinkInfo)] 00027 interface ToiAudioOutputConfigurationHdmiSinkInfo; 00028 //@ [Struct(Interface=IToiAudioOutputConfiguration,Name=TToiAudioFormatOption)] 00029 interface ToiAudioOutputConfigurationAudioFormatOption; 00030 //@ [Struct(Interface=IToiAudioOutputConfiguration,Name=TToiAudioFormatMapping)] 00031 interface ToiAudioOutputConfigurationAudioFormatMapping; 00032 00038 interface ToiAudioOutputConfiguration { 00039 00043 //@ [Enum] 00044 typedef long TToiAudioFormat; 00047 00053 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_NULL)] 00054 const TToiAudioFormat AUDIO_FORMAT_NULL = 0; 00055 00061 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_MPEG_1)] 00062 const TToiAudioFormat AUDIO_FORMAT_MPEG_1 = 1; 00063 00069 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_MPEG_2)] 00070 const TToiAudioFormat AUDIO_FORMAT_MPEG_2 = 2; 00071 00077 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_AC3)] 00078 const TToiAudioFormat AUDIO_FORMAT_AC3 = 3; 00079 00085 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_AC3_PLUS)] 00086 const TToiAudioFormat AUDIO_FORMAT_AC3_PLUS = 4; 00087 00093 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_AAC_HE)] 00094 const TToiAudioFormat AUDIO_FORMAT_AAC_HE = 5; 00095 00101 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_AAC_LC)] 00102 const TToiAudioFormat AUDIO_FORMAT_AAC_LC = 6; 00103 00109 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_DTS)] 00110 const TToiAudioFormat AUDIO_FORMAT_DTS = 7; 00111 00117 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_DTS_HD)] 00118 const TToiAudioFormat AUDIO_FORMAT_DTS_HD = 8; 00119 00125 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_PCM_2CH)] 00126 const TToiAudioFormat AUDIO_FORMAT_PCM_2CH = 9; 00127 00133 //@ [Enumerator(Enum=TToiAudioFormat,Name=AUDIO_FORMAT_PCM_MULTI)] 00134 const TToiAudioFormat AUDIO_FORMAT_PCM_MULTI = 10; 00135 00137 00139 //@ [Enum] 00140 typedef long TToiHdmiConnectionStatus; 00143 00149 //@ [Enumerator(Enum=TToiHdmiConnectionStatus,Name=HDMI_CONNECTION_STATUS_UNKNOWN)] 00150 const TToiHdmiConnectionStatus HDMI_CONNECTION_STATUS_UNKNOWN = 0; 00151 00157 //@ [Enumerator(Enum=TToiHdmiConnectionStatus,Name=HDMI_CONNECTION_STATUS_CONNECTED)] 00158 const TToiHdmiConnectionStatus HDMI_CONNECTION_STATUS_CONNECTED = 1; 00159 00165 //@ [Enumerator(Enum=TToiHdmiConnectionStatus,Name=HDMI_CONNECTION_STATUS_CONNECTED_CAPABILITIES_UNKNOWN)] 00166 const TToiHdmiConnectionStatus HDMI_CONNECTION_STATUS_CONNECTED_CAPABILITIES_UNKNOWN = 2; 00167 00173 //@ [Enumerator(Enum=TToiHdmiConnectionStatus,Name=HDMI_CONNECTION_STATUS_DISCONNECTED)] 00174 const TToiHdmiConnectionStatus HDMI_CONNECTION_STATUS_DISCONNECTED = 3; 00175 00177 00178 typedef sequence < TToiAudioFormat > TToiAudioFormatSequence; 00179 00181 typedef sequence < ToiAudioOutputConfigurationAudioFormatOption > TToiAudioFormatOptionSequence; 00182 00184 typedef sequence < ToiAudioOutputConfigurationAudioFormatMapping > TToiAudioFormatMappingSequence; 00185 00201 //@ [OutParam(Name=formatMapping,Position=3,IsBinary=0, Bound=0)] 00202 ToiAudioOutputConfigurationAudioFormatMapping getFormatMapping(in ToiAudioOutputService::TToiAudioConnectionId connectionId, 00203 in TToiAudioFormat inputFormat) 00204 raises (TToiInvalidArgumentException); 00205 00217 //@ [OutParam(Name=formatMappingList,Position=2,IsBinary=0, Bound=0)] 00218 TToiAudioFormatMappingSequence getFormatMappingList(in ToiAudioOutputService::TToiAudioConnectionId connectionId) 00219 raises (TToiInvalidArgumentException); 00220 00233 //@ [OutParam(Name=sinkInfo,Position=2,IsBinary=0, Bound=0)] 00234 ToiAudioOutputConfigurationHdmiSinkInfo getHdmiSinkInfo(in ToiAudioOutputService::TToiAudioConnectionId connectionId) 00235 raises (TToiInvalidArgumentException); 00236 00237 }; 00238 00239 #endif