Merge "Remove Descriptor proxy field from individual effect" into udc-dev
This commit is contained in:
commit
51fd9e9e7d
3 changed files with 11 additions and 14 deletions
|
@ -68,8 +68,7 @@ const std::vector<Range::BassBoostRange> BassBoostSw::kRanges = {
|
|||
const Capability BassBoostSw::kCapability = {.range = {BassBoostSw::kRanges}};
|
||||
const Descriptor BassBoostSw::kDescriptor = {
|
||||
.common = {.id = {.type = getEffectTypeUuidBassBoost(),
|
||||
.uuid = getEffectImplUuidBassBoostSw(),
|
||||
.proxy = getEffectImplUuidBassBoostProxy()},
|
||||
.uuid = getEffectImplUuidBassBoostSw()},
|
||||
.flags = {.type = Flags::Type::INSERT,
|
||||
.insert = Flags::Insert::FIRST,
|
||||
.volume = Flags::Volume::CTRL},
|
||||
|
|
|
@ -88,16 +88,14 @@ const std::vector<Range::EqualizerRange> EqualizerSw::kRanges = {
|
|||
MAKE_RANGE(Equalizer, centerFreqMh, std::vector<int>({1}), std::vector<int>({0}))};
|
||||
|
||||
const Capability EqualizerSw::kEqCap = {.range = EqualizerSw::kRanges};
|
||||
const Descriptor EqualizerSw::kDesc = {
|
||||
.common = {.id = {.type = getEffectTypeUuidEqualizer(),
|
||||
.uuid = getEffectImplUuidEqualizerSw(),
|
||||
.proxy = getEffectImplUuidEqualizerProxy()},
|
||||
.flags = {.type = Flags::Type::INSERT,
|
||||
.insert = Flags::Insert::FIRST,
|
||||
.volume = Flags::Volume::CTRL},
|
||||
.name = EqualizerSw::kEffectName,
|
||||
.implementor = "The Android Open Source Project"},
|
||||
.capability = EqualizerSw::kEqCap};
|
||||
const Descriptor EqualizerSw::kDesc = {.common = {.id = {.type = getEffectTypeUuidEqualizer(),
|
||||
.uuid = getEffectImplUuidEqualizerSw()},
|
||||
.flags = {.type = Flags::Type::INSERT,
|
||||
.insert = Flags::Insert::FIRST,
|
||||
.volume = Flags::Volume::CTRL},
|
||||
.name = EqualizerSw::kEffectName,
|
||||
.implementor = "The Android Open Source Project"},
|
||||
.capability = EqualizerSw::kEqCap};
|
||||
|
||||
ndk::ScopedAStatus EqualizerSw::getDescriptor(Descriptor* _aidl_return) {
|
||||
LOG(DEBUG) << __func__ << kDesc.toString();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <optional>
|
||||
|
||||
#define LOG_TAG "AHAL_VirtualizerSw"
|
||||
#include <Utils.h>
|
||||
|
@ -76,8 +77,7 @@ const Capability VirtualizerSw::kCapability = {
|
|||
|
||||
const Descriptor VirtualizerSw::kDescriptor = {
|
||||
.common = {.id = {.type = getEffectTypeUuidVirtualizer(),
|
||||
.uuid = getEffectImplUuidVirtualizerSw(),
|
||||
.proxy = getEffectImplUuidVirtualizerProxy()},
|
||||
.uuid = getEffectImplUuidVirtualizerSw()},
|
||||
.flags = {.type = Flags::Type::INSERT,
|
||||
.insert = Flags::Insert::FIRST,
|
||||
.volume = Flags::Volume::CTRL},
|
||||
|
|
Loading…
Reference in a new issue