summaryrefslogtreecommitdiff
path: root/includes/audiomanagertypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/audiomanagertypes.h')
-rw-r--r--includes/audiomanagertypes.h190
1 files changed, 96 insertions, 94 deletions
diff --git a/includes/audiomanagertypes.h b/includes/audiomanagertypes.h
index 27764d1..265a8c7 100644
--- a/includes/audiomanagertypes.h
+++ b/includes/audiomanagertypes.h
@@ -22,8 +22,8 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_9BBD9DCA_BBCF_45e4_8291_45F44B455D62__INCLUDED_)
-#define EA_9BBD9DCA_BBCF_45e4_8291_45F44B455D62__INCLUDED_
+#if !defined(EA_F71B3C5D_FC1B_400e_A704_C0FF897D4E53__INCLUDED_)
+#define EA_F71B3C5D_FC1B_400e_A704_C0FF897D4E53__INCLUDED_
#include <stdint.h>
#include "projecttypes.h"
@@ -124,56 +124,56 @@ namespace am {
* After the buildup of a connection the first timing information needs to be sent within 5 seconds, the timing information from the routing adaptors need to be sent via 4 seconds. If the latency for a connection is variable and changes over lifetime of the connection, the routing adaptors shall resend the value and the audiomanger will correct the over all latency.\n
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:04 AM
+ * @created 11-Jan-2012 9:19:44 PM
*/
typedef uint16_t am_domainID_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:05 AM
+ * @created 11-Jan-2012 9:19:45 PM
*/
typedef uint16_t am_sourceID_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:06 AM
+ * @created 11-Jan-2012 9:19:45 PM
*/
typedef uint16_t am_sinkID_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:06 AM
+ * @created 11-Jan-2012 9:19:45 PM
*/
typedef uint16_t am_gatewayID_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:06 AM
+ * @created 11-Jan-2012 9:19:46 PM
*/
typedef uint16_t am_crossfaderID_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:06 AM
+ * @created 11-Jan-2012 9:19:46 PM
*/
typedef uint16_t am_connectionID_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:06 AM
+ * @created 11-Jan-2012 9:19:46 PM
*/
typedef uint16_t am_mainConnectionID_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:06 AM
+ * @created 11-Jan-2012 9:19:46 PM
*/
typedef uint16_t am_speed_t;
@@ -181,7 +181,7 @@ namespace am {
* The unit is 0.1 db steps,The smallest value -3000 (=AM_MUTE). The minimum and maximum can be limited by actual project.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:07 AM
+ * @created 11-Jan-2012 9:19:46 PM
*/
typedef int16_t am_volume_t;
@@ -190,21 +190,21 @@ namespace am {
* The range of this type is customer specific.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:07 AM
+ * @created 11-Jan-2012 9:19:47 PM
*/
typedef int16_t am_mainVolume_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:07 AM
+ * @created 11-Jan-2012 9:19:47 PM
*/
typedef uint16_t am_sourceClass_t;
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:07 AM
+ * @created 11-Jan-2012 9:19:47 PM
*/
typedef uint16_t am_sinkClass_t;
@@ -212,7 +212,7 @@ namespace am {
* time in ms!
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:07 AM
+ * @created 11-Jan-2012 9:19:47 PM
*/
typedef uint16_t am_time_t;
@@ -220,7 +220,7 @@ namespace am {
* offset time that is introduced in milli seconds.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:08 AM
+ * @created 11-Jan-2012 9:19:48 PM
*/
typedef int16_t am_timeSync_t;
@@ -228,14 +228,14 @@ namespace am {
* with the help of this enum, sinks and sources can report their availability state
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:08 AM
+ * @created 11-Jan-2012 9:19:48 PM
*/
enum am_Availablility_e
{
A_AVAILABLE = 0,
- A_UNAVAILABLE,
- A_UNKNOWN,
- A_MAX,
+ A_UNAVAILABLE = 1,
+ A_UNKNOWN = 2,
+ A_MAX = 3,
A_MIN = A_AVAILABLE
};
@@ -243,7 +243,7 @@ namespace am {
* represents the connection state
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:08 AM
+ * @created 11-Jan-2012 9:19:48 PM
*/
enum am_ConnectionState_e
{
@@ -254,34 +254,34 @@ namespace am {
/**
* the connection is ready to be used
*/
- CS_CONNECTED,
+ CS_CONNECTED = 1,
/**
* the connection is in the course to be knocked down
*/
- CS_DISCONNECTING,
+ CS_DISCONNECTING = 2,
/**
* only relevant for connectionStatechanged. Is send after the connection was removed
*/
- CS_DISCONNECTED,
+ CS_DISCONNECTED = 3,
/**
* this means the connection is still build up but unused at the moment
*/
- CS_SUSPENDED,
- CS_MAX,
+ CS_SUSPENDED = 4,
+ CS_MAX = 5,
CS_MIN = CS_CONNECTING
};
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:08 AM
+ * @created 11-Jan-2012 9:19:48 PM
*/
enum am_DomainState_e
{
DS_CONTROLLED = 0,
- DS_INDEPENDENT_STARTUP,
- DS_INDEPENDENT_RUNDOWN,
- DS_MAX,
+ DS_INDEPENDENT_STARTUP = 1,
+ DS_INDEPENDENT_RUNDOWN = 2,
+ DS_MAX = 3,
DS_MIN = DS_CONTROLLED
};
@@ -289,15 +289,15 @@ namespace am {
* This enum characterizes the data of the EarlyData_t
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:08 AM
+ * @created 11-Jan-2012 9:19:48 PM
*/
enum am_EarlyDataType_e
{
ED_SOURCE_VOLUME = 0,
- ED_SINK_VOLUME,
- ED_SOURCE_PROPERTY,
- ED_SINK_PROPERTY,
- ED_MAX,
+ ED_SINK_VOLUME = 1,
+ ED_SOURCE_PROPERTY = 2,
+ ED_SINK_PROPERTY = 3,
+ ED_MAX = 4,
ES_MIN = ED_SOURCE_VOLUME
};
@@ -305,38 +305,38 @@ namespace am {
* the errors of the audiomanager. All possible errors are in here. This enum is used widely as return parameter.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:09 AM
+ * @created 11-Jan-2012 9:19:49 PM
*/
enum am_Error_e
{
E_OK = 0,
- E_UNKNOWN,
- E_OUT_OF_RANGE,
- E_NOT_USED,
- E_DATABASE_ERROR,
- E_ALREADY_EXISTS,
- E_NO_CHANGE,
- E_NOT_POSSIBLE,
- E_NON_EXISTENT,
- E_ABORTED,
+ E_UNKNOWN = 1,
+ E_OUT_OF_RANGE = 2,
+ E_NOT_USED = 3,
+ E_DATABASE_ERROR = 4,
+ E_ALREADY_EXISTS = 5,
+ E_NO_CHANGE = 6,
+ E_NOT_POSSIBLE = 7,
+ E_NON_EXISTENT = 8,
+ E_ABORTED = 9,
/**
* This error is returned in case a connect is issued with a connectionFormat that cannot be selected for the connection. This could be either due to the capabilities of a source or a sink or gateway compatibilities for example
*/
- E_WRONG_FORMAT,
- E_MAX,
+ E_WRONG_FORMAT = 10,
+ E_MAX = 11,
E_MIN = E_OK
};
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:09 AM
+ * @created 11-Jan-2012 9:19:49 PM
*/
enum am_MuteState_e
{
MS_MUTED = 0,
- MS_UNMUTED,
- MS_MAX,
+ MS_UNMUTED = 1,
+ MS_MAX = 2,
MS_MIN = MS_MUTED
};
@@ -344,7 +344,7 @@ namespace am {
* The source state reflects the state of the source
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:09 AM
+ * @created 11-Jan-2012 9:19:49 PM
*/
enum am_SourceState_e
{
@@ -355,12 +355,12 @@ namespace am {
/**
* The source cannot be heared
*/
- SS_OFF,
+ SS_OFF = 1,
/**
* The source is paused. Meaning it cannot be heared but should be prepared to play again soon.
*/
- SS_PAUSED,
- SS_MAX,
+ SS_PAUSED = 2,
+ SS_MAX = 3,
SS_MIN = SS_ON
};
@@ -368,32 +368,34 @@ namespace am {
* This enumeration is used to define the type of the action that is correlated to a handle.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:09 AM
+ * @created 11-Jan-2012 9:19:49 PM
*/
enum am_Handle_e
{
H_CONNECT = 0,
- H_DISCONNECT,
- H_SETSOURCESTATE,
- H_SETSINKVOLUME,
- H_SETSOURCEVOLUME,
- H_SETSINKSOUNDPROPERTY,
- H_SETSOURCESOUNDPROPERTY,
- H_CROSSFADE,
- H_MAX,
+ H_DISCONNECT = 1,
+ H_SETSOURCESTATE = 2,
+ H_SETSINKVOLUME = 3,
+ H_SETSOURCEVOLUME = 4,
+ H_SETSINKSOUNDPROPERTY = 5,
+ H_SETSOURCESOUNDPROPERTY = 6,
+ H_SETSINKSOUNDPROPERTIES = 7,
+ H_SETSOURCESOUNDPROPERTIES = 8,
+ H_CROSSFADE = 9,
+ H_MAX = 10,
H_MIN = H_CONNECT
};
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:09 AM
+ * @created 11-Jan-2012 9:19:49 PM
*/
enum am_InterruptState_e
{
IS_OFF = 0,
- IS_INTERRUPTED,
- IS_MAX,
+ IS_INTERRUPTED = 1,
+ IS_MAX = 2,
IS_MIN = IS_OFF
};
@@ -401,14 +403,14 @@ namespace am {
* describes the active sink of a crossfader.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:10 AM
+ * @created 11-Jan-2012 9:19:49 PM
*/
enum am_HotSink_e
{
HS_SINKA = 0,
- HS_SINKB,
- HS_INTERMEDIATE,
- HS_MAX,
+ HS_SINKB = 1,
+ HS_INTERMEDIATE = 2,
+ HS_MAX = 3,
HS_MIN = HS_SINKA
};
@@ -416,7 +418,7 @@ namespace am {
* this describes the availability of a sink or a source together with the latest change
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:10 AM
+ * @created 11-Jan-2012 9:19:50 PM
*/
struct am_Availability_s
{
@@ -436,7 +438,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:10 AM
+ * @created 11-Jan-2012 9:19:50 PM
*/
struct am_ClassProperty_s
{
@@ -450,7 +452,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:10 AM
+ * @created 11-Jan-2012 9:19:50 PM
*/
struct am_Crossfader_s
{
@@ -468,7 +470,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:11 AM
+ * @created 11-Jan-2012 9:19:51 PM
*/
struct am_Gateway_s
{
@@ -509,7 +511,7 @@ namespace am {
* This represents one "hopp" in a route
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:11 AM
+ * @created 11-Jan-2012 9:19:51 PM
*/
struct am_RoutingElement_s
{
@@ -525,7 +527,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:11 AM
+ * @created 11-Jan-2012 9:19:51 PM
*/
struct am_Route_s
{
@@ -540,7 +542,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:12 AM
+ * @created 11-Jan-2012 9:19:52 PM
*/
struct am_SoundProperty_s
{
@@ -554,7 +556,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:12 AM
+ * @created 11-Jan-2012 9:19:52 PM
*/
struct am_SystemProperty_s
{
@@ -574,7 +576,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:12 AM
+ * @created 11-Jan-2012 9:19:52 PM
*/
struct am_SinkClass_s
{
@@ -589,7 +591,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:12 AM
+ * @created 11-Jan-2012 9:19:53 PM
*/
struct am_SourceClass_s
{
@@ -608,7 +610,7 @@ namespace am {
* this type holds all information of sources relevant to the HMI
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:13 AM
+ * @created 11-Jan-2012 9:19:53 PM
*/
struct am_SourceType_s
{
@@ -625,7 +627,7 @@ namespace am {
* this type holds all information of sinks relevant to the HMI
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:13 AM
+ * @created 11-Jan-2012 9:19:53 PM
*/
struct am_SinkType_s
{
@@ -643,7 +645,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:13 AM
+ * @created 11-Jan-2012 9:19:53 PM
*/
struct am_Handle_s
{
@@ -657,7 +659,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:14 AM
+ * @created 11-Jan-2012 9:19:54 PM
*/
struct am_MainSoundProperty_s
{
@@ -672,7 +674,7 @@ namespace am {
* this type holds all information of connections relevant to the HMI
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:14 AM
+ * @created 11-Jan-2012 9:19:54 PM
*/
struct am_MainConnectionType_s
{
@@ -689,7 +691,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:14 AM
+ * @created 11-Jan-2012 9:19:54 PM
*/
struct am_MainConnection_s
{
@@ -705,7 +707,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:15 AM
+ * @created 11-Jan-2012 9:19:55 PM
*/
struct am_Sink_s
{
@@ -729,7 +731,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:15 AM
+ * @created 11-Jan-2012 9:19:56 PM
*/
struct am_Source_s
{
@@ -762,7 +764,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:15 AM
+ * @created 11-Jan-2012 9:19:56 PM
*/
struct am_Domain_s
{
@@ -781,7 +783,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:16 AM
+ * @created 11-Jan-2012 9:19:56 PM
*/
struct am_Connection_s
{
@@ -801,7 +803,7 @@ namespace am {
* soundProperty_t in case of ED_SOURCE_PROPERTY, ED_SINK_PROPERTY
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:16 AM
+ * @created 11-Jan-2012 9:19:56 PM
*/
union am_EarlyData_u
{
@@ -818,7 +820,7 @@ namespace am {
* sinkID in case of ED_SINK_VOLUME, ED_SINK_PROPERTY
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:16 AM
+ * @created 11-Jan-2012 9:19:57 PM
*/
union am_DataType_u
{
@@ -832,7 +834,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:16 AM
+ * @created 11-Jan-2012 9:19:57 PM
*/
struct am_EarlyData_s
{
@@ -844,4 +846,4 @@ namespace am {
};
}
-#endif // !defined(EA_9BBD9DCA_BBCF_45e4_8291_45F44B455D62__INCLUDED_)
+#endif // !defined(EA_F71B3C5D_FC1B_400e_A704_C0FF897D4E53__INCLUDED_)