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

# Congestion Buf API

> This file contains module published by Congestion Buf CAPI intialization.

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

## Structures

### `param_id_congestion_buf_config_t`

**Members**

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

<ParamField path="bit_rate" type="uint32_t">
  A value of '0' indicates unknown\unset bitrate}
</ParamField>

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

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

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

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

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

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

### `param_id_congestion_buf_size_config_t`

**Members**

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

## Type Definitions

### `param_id_congestion_buf_config_t`

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

### `param_id_congestion_buf_size_config_t`

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

## Macros

### `CAPI_CONGESTION_BUF_MAX_INPUT_PORTS`

```c theme={null}
#define CAPI_CONGESTION_BUF_MAX_INPUT_PORTS (1)
```

### `CAPI_CONGESTION_BUF_MAX_OUTPUT_PORTS`

```c theme={null}
#define CAPI_CONGESTION_BUF_MAX_OUTPUT_PORTS (1)
```

### `PARAM_ID_CONGESTION_BUF_CONFIG`

```c theme={null}
#define PARAM_ID_CONGESTION_BUF_CONFIG 0x080014E2
```

### `PARAM_ID_CONGESTION_BUF_SIZE_CONFIG`

```c theme={null}
#define PARAM_ID_CONGESTION_BUF_SIZE_CONFIG 0x080014E5
```

### `MODULE_ID_CONGESTION_AUDIO_BUFFER`

Module ID of the Congestion Buf Module.

```c theme={null}
#define MODULE_ID_CONGESTION_AUDIO_BUFFER 0x07010004
```
