summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceCAPI/fidl/RoutingSender.fidl
blob: 035d96b4da1ba4095b5e6ebb69d287bc8fe5fff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
package org.genivi.audiomanager

import org.genivi.audiomanager.am_gen.* from "amTypes.fidl"

interface RoutingSender
{
	version { major 0 minor 1 }
	
	method asyncSetSourceState
	{
		in
		{
			UInt16 handle
			am_sourceID_t sourceID
			am_SourceState_e sourceState
		}
	}
		
	method setDomainState
	{
		in
		{
			am_domainID_t domainID
			am_DomainState_e domainState
		}
		out
		{
			am_Error_e ^error
		}
	}
	method asyncSetSourceVolume
	{
		in
		{
			am_handle_t handle		
			am_sourceID_t sourceID		
			am_volume_t volume									
			am_RampType_e ramp					
			am_time_t time		
		}
	}
	method asyncSetSinkVolume
	{
		in
		{
			am_handle_t handle		
			am_sinkID_t sinkID		
			am_volume_t volume									
			am_RampType_e ramp					
			am_time_t time		
		}
	}
	method asyncConnect
	{
		in
		{
			am_handle_t handle
			am_connectionID_t connectionID
			am_sourceID_t sourceID
			am_sinkID_t sinkID
			am_ConnectionFormat_e connectionFormat
		}
	}
	method asyncDisconnect
	{
		in
		{
			am_handle_t handle
			am_connectionID_t connectionID
		}
	}
	method asyncAbort
	{
		in
		{
			am_handle_t handle
		}
		out
		{
			am_Error_e ^error
		}
	}
	method asyncSetSinkSoundProperties
	{
		in
		{
			am_handle_t handle
			am_sinkID_t sinkID
			am_SoundProperty_L listSoundProperties
		}
	}
	method asyncSetSinkSoundProperty
	{
		in
		{
			am_handle_t handle
			am_sinkID_t sinkID
			am_SoundProperty_s soundProperty
		}
	}
	method asyncSetSourceSoundProperties
	{
		in
		{
			am_handle_t handle
			am_sourceID_t sourceID	
			am_SoundProperty_L listSoundProperties
		}
	}
	method asyncSetSourceSoundProperty
	{
		in
		{
			am_handle_t handle
			am_sourceID_t sourceID	
			am_SoundProperty_s soundProperty
		}

	}
	method asyncCrossFade
	{
		in
		{
			am_handle_t handle
			am_crossfaderID_t crossfaderID	
			am_HotSink_e hotSink
			am_RampType_e rampType
			am_time_t time
		}
	}
	method asyncSetVolumes
	{
		in
		{
			am_handle_t handle
			am_Volumes_l volumes	
		}
	}
	method asyncSetSinkNotificationConfiguration
	{
		in
		{
			am_handle_t handle
			am_sinkID_t sinkID
			am_NotificationConfiguration_s notificationConfiguration	
		}
	}
	method asyncSetSourceNotificationConfiguration
	{
		in
		{
			am_handle_t handle
			am_sourceID_t sourceID
			am_NotificationConfiguration_s notificationConfiguration	
		}
	}
}