nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
channel_assignment.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _CHANNEL_ASSIGNMENT_H_
8#define _CHANNEL_ASSIGNMENT_H_
9
17#include <audio_defines.h>
18
19#ifndef AUDIO_CHANNEL_DEFAULT
20#define AUDIO_CHANNEL_DEFAULT AUDIO_CH_L
21#endif /* AUDIO_CHANNEL_DEFAULT */
22
23static const char CH_L_TAG[] = "HL";
24static const char CH_R_TAG[] = "HR";
25static const char GW_TAG[] = "GW";
26
33
34#if CONFIG_AUDIO_HEADSET_CHANNEL_RUNTIME
40void channel_assignment_set(enum audio_channel channel);
41#endif /* AUDIO_HEADSET_CHANNEL_RUNTIME */
42
43#endif /* _CHANNEL_ASSIGNMENT_H_ */
audio_channel
Audio channel assignment values.
Definition audio_defines.h:20
Globally accessible audio related defines.
static const char CH_R_TAG[]
Definition channel_assignment.h:24
void channel_assignment_get(enum audio_channel *channel)
Get assigned audio channel.
static const char CH_L_TAG[]
Definition channel_assignment.h:23
static const char GW_TAG[]
Definition channel_assignment.h:25