> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LC3 Encoder API

**Header:** `spf/api/modules/lc3_encoder_api.h`

## Structures

### `param_id_lc3_encoder_config_payload_t`

**Members**

<ParamField path="toAirConfig" type="lc3_config_t" />

<ParamField path="stream_map_size" type="uint32_t">
  Each stream map entity has 3 elements - audio location, stream-id, and direction}
</ParamField>

<ParamField path="streamMapOut" type="stream_map_t" />

### `param_id_lc3_encoder_switch_enc_pcm_input_payload_t`

**Members**

<ParamField path="transition_direction" type="int32_t" />

## Type Definitions

### `param_id_lc3_encoder_config_payload_t`

```cpp theme={null}
typedef struct param_id_lc3_encoder_config_payload_t param_id_lc3_encoder_config_payload_t
```

### `param_id_lc3_encoder_switch_enc_pcm_input_payload_t`

```cpp theme={null}
typedef struct param_id_lc3_encoder_switch_enc_pcm_input_payload_t param_id_lc3_encoder_switch_enc_pcm_input_payload_t
```

## Macros

### `COP_ENCODER_FEEDBACK_IN`

```c theme={null}
#define COP_ENCODER_FEEDBACK_IN AR_NON_GUID(0xC0000001)
```

### `PARAM_ID_LC3_ENC_INIT`

ID of the LC3 Enc\_Init parameter.This parameter should be set at init time, but not run time.

```c theme={null}
#define PARAM_ID_LC3_ENC_INIT 0x0800118B
```

### `PARAM_ID_LC3_ENC_DOWNMIX_2_MONO`

ID of the LC3 encoder downmix to mono parameter.This parameter can be set at run time.

```c theme={null}
#define PARAM_ID_LC3_ENC_DOWNMIX_2_MONO 0x0800118C
```

### `MODULE_ID_LC3_ENC`

```c theme={null}
#define MODULE_ID_LC3_ENC 0x07001085
```
