Shunkai Yao | ea24c1a | 2022-09-28 17:39:23 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
| 20 | namespace aidl::android::hardware::audio::effect { |
| 21 | |
| 22 | using ::aidl::android::media::audio::common::AudioUuid; |
| 23 | |
Shunkai Yao | a4ab38c | 2022-10-14 01:07:47 +0000 | [diff] [blame] | 24 | // Null UUID |
| 25 | static 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 |
| 32 | static const AudioUuid EffectZeroUuid = { |
| 33 | static_cast<int32_t>(0x0), 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}; |
| 34 | |
Shunkai Yao | ea24c1a | 2022-09-28 17:39:23 +0000 | [diff] [blame] | 35 | // Equalizer type UUID. |
| 36 | static 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. |
| 43 | static const AudioUuid EqualizerSwImplUUID = {static_cast<int32_t>(0x0bed4300), |
| 44 | 0x847d, |
| 45 | 0x11df, |
| 46 | 0xbb17, |
| 47 | {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}}; |
| 48 | |
Shunkai Yao | 6afc855 | 2022-10-26 22:47:20 +0000 | [diff] [blame^] | 49 | // Equalizer bundle implementation UUID. |
| 50 | static 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 |
| 57 | static 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 |
| 63 | static 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 |
| 69 | static 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 |
| 75 | static 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 |
| 81 | static 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 |
| 87 | static 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 |
| 93 | static 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 |
| 99 | static 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 |
| 106 | static 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 |
| 112 | static 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 |
| 118 | static 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 |
| 124 | static 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 |
| 131 | static 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 |
| 137 | static 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 |
| 144 | static 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 |
| 150 | static 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 |
| 157 | static 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 |
| 163 | static const AudioUuid VolumeSwImplUUID = {static_cast<int32_t>(0xfa81a718), |
| 164 | 0x588b, |
| 165 | 0x11ed, |
| 166 | 0x9b6a, |
| 167 | {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}}; |
Shunkai Yao | ea24c1a | 2022-09-28 17:39:23 +0000 | [diff] [blame] | 168 | |
| 169 | } // namespace aidl::android::hardware::audio::effect |