1/*
2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16#ifndef AUDIO_PATHSELECT_H
17#define AUDIO_PATHSELECT_H
18
19#include "audio_internal.h"
20#ifdef IDL_MODE
21#include "v4_0/audio_types.h"
22#else
23#include "audio_types.h"
24#endif
25
26#ifdef ALSA_LIB_MODE
27    #define CJSONFILE_CONFIG_PATH HDF_CONFIG_DIR"/alsa_paths.json"
28#else
29    #define CJSONFILE_CONFIG_PATH HDF_CONFIG_DIR"/audio_paths.json"
30#endif
31
32int32_t AudioPathSelGetConfToJsonObj(void);
33int32_t AudioPathSelAnalysisJson(const AudioHandle adapterParam, enum AudioAdaptType adaptType);
34
35#endif
36