> ## 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.

# APTX Classic Encoder API

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

## Structures

### `param_id_aptx_classic_output_threshold_payload_t`

**Members**

<ParamField path="output_threshold" type="uint32_t" />

### `param_id_aptx_classic_sync_mode_payload_t`

**Members**

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

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

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

### `param_id_aptx_classic_switch_enc_pcm_input_payload_t`

**Members**

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

## Type Definitions

### `param_id_aptx_classic_output_threshold_payload_t`

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

### `param_id_aptx_classic_sync_mode_payload_t`

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

### `param_id_aptx_classic_switch_enc_pcm_input_payload_t`

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

## Macros

### `PARAM_ID_APTX_CLASSIC_SET_OUTPUT_THRESHOLD`

ID of the aptx classic encoder output threshold parameter.This parameter should be set at init time.

```c theme={null}
#define PARAM_ID_APTX_CLASSIC_SET_OUTPUT_THRESHOLD 0x08001180
```

### `PARAM_ID_APTX_CLASSIC_SET_SYNC_MODE`

ID of the aptx classic encoder sync mode parameter.This parameter should be set at init time.

```c theme={null}
#define PARAM_ID_APTX_CLASSIC_SET_SYNC_MODE 0x08001181
```

### `PARAM_ID_APTX_CLASSIC_SWITCH_ENC_PCM_INPUT`

ID of the aptx classic encoder switch parameter.This parameter can be set at run time.

```c theme={null}
#define PARAM_ID_APTX_CLASSIC_SWITCH_ENC_PCM_INPUT 0x08001182
```

### `MODULE_ID_APTX_CLASSIC_ENC`

```c theme={null}
#define MODULE_ID_APTX_CLASSIC_ENC 0x0700107E
```
