blob: 767cf6c053ddc04a5ab33789f68a554ee39b1d93 [file] [log] [blame]
Shunkai Yaoea24c1a2022-09-28 17:39:23 +00001/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18#include <aidl/android/media/audio/common/AudioUuid.h>
19
20namespace aidl::android::hardware::audio::effect {
21
22using ::aidl::android::media::audio::common::AudioUuid;
23
Shunkai Yaoa4ab38c2022-10-14 01:07:47 +000024// Null UUID
25static const AudioUuid EffectNullUuid = {static_cast<int32_t>(0xec7178ec),
26 0xe5e1,
27 0x4432,
28 0xa3f4,
29 {0x46, 0x57, 0xe6, 0x79, 0x52, 0x10}};
30
31// Zero UUID
32static const AudioUuid EffectZeroUuid = {
33 static_cast<int32_t>(0x0), 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0}};
34
Shunkai Yaoea24c1a2022-09-28 17:39:23 +000035// Equalizer type UUID.
36static const AudioUuid EqualizerTypeUUID = {static_cast<int32_t>(0x0bed4300),
37 0xddd6,
38 0x11db,
39 0x8f34,
40 {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}};
41
42// Equalizer implementation UUID.
43static const AudioUuid EqualizerSwImplUUID = {static_cast<int32_t>(0x0bed4300),
44 0x847d,
45 0x11df,
46 0xbb17,
47 {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}};
48
Shunkai Yao6afc8552022-10-26 22:47:20 +000049// Equalizer bundle implementation UUID.
50static const AudioUuid EqualizerBundleImplUUID = {static_cast<int32_t>(0xce772f20),
51 0x847d,
52 0x11df,
53 0xbb17,
54 {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}};
55
56// fa8184a4-588b-11ed-9b6a-0242ac120002
57static const AudioUuid BassBoostTypeUUID = {static_cast<int32_t>(0xfa8184a4),
58 0x588b,
59 0x11ed,
60 0x9b6a,
61 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
62// fa8181f2-588b-11ed-9b6a-0242ac120002
63static const AudioUuid BassBoostSwImplUUID = {static_cast<int32_t>(0xfa8181f2),
64 0x588b,
65 0x11ed,
66 0x9b6a,
67 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
68// fa81862a-588b-11ed-9b6a-0242ac120002
69static const AudioUuid DownmixTypeUUID = {static_cast<int32_t>(0xfa81862a),
70 0x588b,
71 0x11ed,
72 0x9b6a,
73 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
74// fa8187ba-588b-11ed-9b6a-0242ac120002
75static const AudioUuid DownmixSwImplUUID = {static_cast<int32_t>(0xfa8187ba),
76 0x588b,
77 0x11ed,
78 0x9b6a,
79 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
80// fa818954-588b-11ed-9b6a-0242ac120002
81static const AudioUuid DynamicsProcessingTypeUUID = {static_cast<int32_t>(0xfa818954),
82 0x588b,
83 0x11ed,
84 0x9b6a,
85 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
86// fa818d78-588b-11ed-9b6a-0242ac120002
87static const AudioUuid DynamicsProcessingSwImplUUID = {static_cast<int32_t>(0xfa818d78),
88 0x588b,
89 0x11ed,
90 0x9b6a,
91 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
92// fa818f62-588b-11ed-9b6a-0242ac120002
93static const AudioUuid HapticGeneratorTypeUUID = {static_cast<int32_t>(0xfa818f62),
94 0x588b,
95 0x11ed,
96 0x9b6a,
97 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
98// fa819110-588b-11ed-9b6a-0242ac120002
99static const AudioUuid HapticGeneratorSwImplUUID = {static_cast<int32_t>(0xfa819110),
100 0x588b,
101 0x11ed,
102 0x9b6a,
103 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
104
105// fa8194a8-588b-11ed-9b6a-0242ac120002
106static const AudioUuid LoudnessEnhancerTypeUUID = {static_cast<int32_t>(0xfa8194a8),
107 0x588b,
108 0x11ed,
109 0x9b6a,
110 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
111// fa819610-588b-11ed-9b6a-0242ac120002
112static const AudioUuid LoudnessEnhancerSwImplUUID = {static_cast<int32_t>(0xfa819610),
113 0x588b,
114 0x11ed,
115 0x9b6a,
116 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
117// fa819886-588b-11ed-9b6a-0242ac120002
118static const AudioUuid ReverbTypeUUID = {static_cast<int32_t>(0xfa819886),
119 0x588b,
120 0x11ed,
121 0x9b6a,
122 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
123// fa8199c6-588b-11ed-9b6a-0242ac120002
124static const AudioUuid ReverbSwImplUUID = {static_cast<int32_t>(0xfa8199c6),
125 0x588b,
126 0x11ed,
127 0x9b6a,
128 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
129
130// fa819af2-588b-11ed-9b6a-0242ac120002
131static const AudioUuid VirtualizerTypeUUID = {static_cast<int32_t>(0xfa819af2),
132 0x588b,
133 0x11ed,
134 0x9b6a,
135 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
136// fa819d86-588b-11ed-9b6a-0242ac120002
137static const AudioUuid VirtualizerSwImplUUID = {static_cast<int32_t>(0xfa819d86),
138 0x588b,
139 0x11ed,
140 0x9b6a,
141 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
142
143// fa819f3e-588b-11ed-9b6a-0242ac120002
144static const AudioUuid VisualizerTypeUUID = {static_cast<int32_t>(0xfa819f3e),
145 0x588b,
146 0x11ed,
147 0x9b6a,
148 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
149// fa81a0f6-588b-11ed-9b6a-0242ac120002
150static const AudioUuid VisualizerSwImplUUID = {static_cast<int32_t>(0xfa81a0f6),
151 0x588b,
152 0x11ed,
153 0x9b6a,
154 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
155
156// fa81a2b8-588b-11ed-9b6a-0242ac120002
157static const AudioUuid VolumeTypeUUID = {static_cast<int32_t>(0xfa81a2b8),
158 0x588b,
159 0x11ed,
160 0x9b6a,
161 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
162// fa81a718-588b-11ed-9b6a-0242ac120002
163static const AudioUuid VolumeSwImplUUID = {static_cast<int32_t>(0xfa81a718),
164 0x588b,
165 0x11ed,
166 0x9b6a,
167 {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
Shunkai Yaoea24c1a2022-09-28 17:39:23 +0000168
169} // namespace aidl::android::hardware::audio::effect