blob: 8b157faf0fbaec0ae8848b04455497da76c4ca3f [file] [log] [blame]
Shunkai Yao45905172022-08-24 18:14:02 +00001/*
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#define LOG_TAG "AHAL_Equalizer"
18#include <android-base/logging.h>
19
20#include "Equalizer.h"
21
22namespace aidl::android::hardware::audio::effect {
23
Shunkai Yao45905172022-08-24 18:14:02 +000024ndk::ScopedAStatus Equalizer::open() {
25 LOG(DEBUG) << __func__;
26 return ndk::ScopedAStatus::ok();
27}
28
29ndk::ScopedAStatus Equalizer::close() {
30 LOG(DEBUG) << __func__;
31 return ndk::ScopedAStatus::ok();
32}
33
34ndk::ScopedAStatus Equalizer::getDescriptor(Descriptor* _aidl_return) {
35 LOG(DEBUG) << __func__ << "descriptor " << mDesc.toString();
36 *_aidl_return = mDesc;
37 return ndk::ScopedAStatus::ok();
38}
39
40} // namespace aidl::android::hardware::audio::effect