blob: 0fdd5b4eaca2c84fbf29f3a0ca067fcc1581756a [file] [log] [blame]
Mikhail Naganovdf5adfd2021-11-11 22:09:22 +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 */
Lorena Torres-Huerta0ba91e52022-10-05 21:56:42 +000016#define LOG_TAG "AHAL_Module"
17#include <android-base/logging.h>
Mikhail Naganovdf5adfd2021-11-11 22:09:22 +000018
19#include "core-impl/Config.h"
20
Lorena Torres-Huerta0ba91e52022-10-05 21:56:42 +000021namespace aidl::android::hardware::audio::core {
22ndk::ScopedAStatus Config::getSurroundSoundConfig(SurroundSoundConfig* _aidl_return) {
23 SurroundSoundConfig surroundSoundConfig;
24 // TODO: parse from XML; for now, use empty config as default
25 *_aidl_return = std::move(surroundSoundConfig);
26 LOG(DEBUG) << __func__ << ": returning " << _aidl_return->toString();
27 return ndk::ScopedAStatus::ok();
28}
29} // namespace aidl::android::hardware::audio::core