mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-14 05:28:00 +08:00
70 lines
3.0 KiB
C
70 lines
3.0 KiB
C
![]() |
/*
|
||
|
* This file is auto-generated. DO NOT MODIFY.
|
||
|
* Using: /home/iscle/Android/Sdk/build-tools/35.0.1/aidl --lang=ndk -o generated -h generated/include --structured --stability=vintf --min_sdk_version=31 -I hardware_interfaces/common/aidl/aidl_api/android.hardware.common/current/ -I hardware_interfaces/common/fmq/aidl/aidl_api/android.hardware.common.fmq/current/ -I hardware_interfaces/audio/aidl/aidl_api/android.hardware.audio.common/current/ -I hardware_interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/current/ -I system_hardware_interfaces/media/aidl_api/android.media.audio.common.types/current/ -I system_hardware_interfaces/media/aidl_api/android.media.audio.eraser.types/current/ hardware_interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/IEffect.aidl
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
|
#include "aidl/android/hardware/audio/effect/IEffect.h"
|
||
|
|
||
|
#include <android/binder_ibinder.h>
|
||
|
#include <cassert>
|
||
|
|
||
|
#ifndef __BIONIC__
|
||
|
#ifndef __assert2
|
||
|
#define __assert2(a,b,c,d) ((void)0)
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
namespace aidl {
|
||
|
namespace android {
|
||
|
namespace hardware {
|
||
|
namespace audio {
|
||
|
namespace effect {
|
||
|
class BnEffect : public ::ndk::BnCInterface<IEffect> {
|
||
|
public:
|
||
|
BnEffect();
|
||
|
virtual ~BnEffect();
|
||
|
protected:
|
||
|
::ndk::SpAIBinder createBinder() override;
|
||
|
private:
|
||
|
};
|
||
|
class IEffectDelegator : public BnEffect {
|
||
|
public:
|
||
|
explicit IEffectDelegator(const std::shared_ptr<IEffect> &impl) : _impl(impl) {
|
||
|
}
|
||
|
|
||
|
::ndk::ScopedAStatus open(const ::aidl::android::hardware::audio::effect::Parameter::Common& in_common, const std::optional<::aidl::android::hardware::audio::effect::Parameter::Specific>& in_specific, ::aidl::android::hardware::audio::effect::IEffect::OpenEffectReturn* _aidl_return) override {
|
||
|
return _impl->open(in_common, in_specific, _aidl_return);
|
||
|
}
|
||
|
::ndk::ScopedAStatus close() override {
|
||
|
return _impl->close();
|
||
|
}
|
||
|
::ndk::ScopedAStatus getDescriptor(::aidl::android::hardware::audio::effect::Descriptor* _aidl_return) override {
|
||
|
return _impl->getDescriptor(_aidl_return);
|
||
|
}
|
||
|
::ndk::ScopedAStatus command(::aidl::android::hardware::audio::effect::CommandId in_commandId) override {
|
||
|
return _impl->command(in_commandId);
|
||
|
}
|
||
|
::ndk::ScopedAStatus getState(::aidl::android::hardware::audio::effect::State* _aidl_return) override {
|
||
|
return _impl->getState(_aidl_return);
|
||
|
}
|
||
|
::ndk::ScopedAStatus setParameter(const ::aidl::android::hardware::audio::effect::Parameter& in_param) override {
|
||
|
return _impl->setParameter(in_param);
|
||
|
}
|
||
|
::ndk::ScopedAStatus getParameter(const ::aidl::android::hardware::audio::effect::Parameter::Id& in_paramId, ::aidl::android::hardware::audio::effect::Parameter* _aidl_return) override {
|
||
|
return _impl->getParameter(in_paramId, _aidl_return);
|
||
|
}
|
||
|
::ndk::ScopedAStatus reopen(::aidl::android::hardware::audio::effect::IEffect::OpenEffectReturn* _aidl_return) override {
|
||
|
return _impl->reopen(_aidl_return);
|
||
|
}
|
||
|
protected:
|
||
|
private:
|
||
|
std::shared_ptr<IEffect> _impl;
|
||
|
};
|
||
|
|
||
|
} // namespace effect
|
||
|
} // namespace audio
|
||
|
} // namespace hardware
|
||
|
} // namespace android
|
||
|
} // namespace aidl
|