Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a2fb034 authored by Shraddha Basantwani's avatar Shraddha Basantwani
Browse files

Audio AIDL : Add libeffects bass boost bundle uuid

Bug: 258124419
Test: atest VtsHalBassBoostTargetTest
Change-Id: I7048ee71e16a1e9c7ca6850a216b9f3ae62a0452
parent 9dc8e53e
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -61,7 +61,10 @@
    -->
    -->


    <effects>
    <effects>
        <effect name="bassboost" library="bassboostsw" uuid="fa8181f2-588b-11ed-9b6a-0242ac120002"/>
        <effectProxy name="bassboost" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b">
            <libsw library="bassboostsw" uuid="fa8181f2-588b-11ed-9b6a-0242ac120002"/>
            <libsw library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/>
        </effectProxy>
        <effect name="dynamics_processing" library="dynamics_processingsw" uuid="fa818d78-588b-11ed-9b6a-0242ac120002"/>
        <effect name="dynamics_processing" library="dynamics_processingsw" uuid="fa818d78-588b-11ed-9b6a-0242ac120002"/>
        <effect name="haptic_generator" library="haptic_generatorsw" uuid="fa819110-588b-11ed-9b6a-0242ac120002"/>
        <effect name="haptic_generator" library="haptic_generatorsw" uuid="fa819110-588b-11ed-9b6a-0242ac120002"/>
        <effect name="loudness_enhancer" library="loudness_enhancersw" uuid="fa819610-588b-11ed-9b6a-0242ac120002"/>
        <effect name="loudness_enhancer" library="loudness_enhancersw" uuid="fa819610-588b-11ed-9b6a-0242ac120002"/>
+1 −1
Original line number Original line Diff line number Diff line
@@ -66,7 +66,7 @@ const BassBoost::Capability BassBoostSw::kCapability = {.strengthSupported = kSt
const Descriptor BassBoostSw::kDescriptor = {
const Descriptor BassBoostSw::kDescriptor = {
        .common = {.id = {.type = kBassBoostTypeUUID,
        .common = {.id = {.type = kBassBoostTypeUUID,
                          .uuid = kBassBoostSwImplUUID,
                          .uuid = kBassBoostSwImplUUID,
                          .proxy = std::nullopt},
                          .proxy = kBassBoostProxyUUID},
                   .flags = {.type = Flags::Type::INSERT,
                   .flags = {.type = Flags::Type::INSERT,
                             .insert = Flags::Insert::FIRST,
                             .insert = Flags::Insert::FIRST,
                             .volume = Flags::Volume::CTRL},
                             .volume = Flags::Volume::CTRL},
+12 −0
Original line number Original line Diff line number Diff line
@@ -45,6 +45,18 @@ static const AudioUuid kBassBoostSwImplUUID = {static_cast<int32_t>(0xfa8181f2),
                                               0x11ed,
                                               0x11ed,
                                               0x9b6a,
                                               0x9b6a,
                                               {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
                                               {0x02, 0x42, 0xac, 0x12, 0x00, 0x02}};
// 8631f300-72e2-11df-b57e-0002a5d5c51b
static const AudioUuid kBassBoostBundleImplUUID = {static_cast<int32_t>(0x8631f300),
                                                   0x72e2,
                                                   0x11df,
                                                   0xb57e,
                                                   {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}};
// 14804144-a5ee-4d24-aa88-0002a5d5c51b
static const AudioUuid kBassBoostProxyUUID = {static_cast<int32_t>(0x14804144),
                                              0xa5ee,
                                              0x4d24,
                                              0xaa88,
                                              {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}};
// fa81862a-588b-11ed-9b6a-0242ac120002
// fa81862a-588b-11ed-9b6a-0242ac120002
static const AudioUuid kDownmixTypeUUID = {static_cast<int32_t>(0xfa81862a),
static const AudioUuid kDownmixTypeUUID = {static_cast<int32_t>(0xfa81862a),
                                           0x588b,
                                           0x588b,