mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-13 21:25:14 +08:00
73 lines
2.5 KiB
C
73 lines
2.5 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/State.aidl
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
|
#include <array>
|
||
|
#include <cstdint>
|
||
|
#include <memory>
|
||
|
#include <optional>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
#include <android/binder_enums.h>
|
||
|
#ifdef BINDER_STABILITY_SUPPORT
|
||
|
#include <android/binder_stability.h>
|
||
|
#endif // BINDER_STABILITY_SUPPORT
|
||
|
|
||
|
namespace aidl {
|
||
|
namespace android {
|
||
|
namespace hardware {
|
||
|
namespace audio {
|
||
|
namespace effect {
|
||
|
enum class State : int8_t {
|
||
|
INIT = 0,
|
||
|
IDLE = 1,
|
||
|
PROCESSING = 2,
|
||
|
DRAINING = 3,
|
||
|
};
|
||
|
|
||
|
} // namespace effect
|
||
|
} // namespace audio
|
||
|
} // namespace hardware
|
||
|
} // namespace android
|
||
|
} // namespace aidl
|
||
|
namespace aidl {
|
||
|
namespace android {
|
||
|
namespace hardware {
|
||
|
namespace audio {
|
||
|
namespace effect {
|
||
|
[[nodiscard]] static inline std::string toString(State val) {
|
||
|
switch(val) {
|
||
|
case State::INIT:
|
||
|
return "INIT";
|
||
|
case State::IDLE:
|
||
|
return "IDLE";
|
||
|
case State::PROCESSING:
|
||
|
return "PROCESSING";
|
||
|
case State::DRAINING:
|
||
|
return "DRAINING";
|
||
|
default:
|
||
|
return std::to_string(static_cast<int8_t>(val));
|
||
|
}
|
||
|
}
|
||
|
} // namespace effect
|
||
|
} // namespace audio
|
||
|
} // namespace hardware
|
||
|
} // namespace android
|
||
|
} // namespace aidl
|
||
|
namespace ndk {
|
||
|
namespace internal {
|
||
|
#pragma clang diagnostic push
|
||
|
#pragma clang diagnostic ignored "-Wc++17-extensions"
|
||
|
template <>
|
||
|
constexpr inline std::array<aidl::android::hardware::audio::effect::State, 4> enum_values<aidl::android::hardware::audio::effect::State> = {
|
||
|
aidl::android::hardware::audio::effect::State::INIT,
|
||
|
aidl::android::hardware::audio::effect::State::IDLE,
|
||
|
aidl::android::hardware::audio::effect::State::PROCESSING,
|
||
|
aidl::android::hardware::audio::effect::State::DRAINING,
|
||
|
};
|
||
|
#pragma clang diagnostic pop
|
||
|
} // namespace internal
|
||
|
} // namespace ndk
|