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

# Module CMN API

> this file contains common module definitions

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

## Structures

### `param_id_module_enable_t`

Payload of the PARAM\_ID\_MODULE\_ENABLE parameter, which is used for any audio processing module.

**Members**

<ParamField path="enable" type="uint32_t">
  Specifies whether the module is to be enabled or disabled.
</ParamField>

### `lib_version_t`

**Members**

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

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

### `param_id_module_frame_size_cfg_t`

**Members**

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

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

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

### `mla_enable_t`

**Members**

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

## Type Definitions

### `param_id_module_enable_t`

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

### `lib_version_t`

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

### `param_id_module_frame_size_cfg_t`

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

### `mla_enable_t`

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

## Macros

### `PARAM_ID_MODULE_ENABLE`

Identifier for the Enable parameter used by any audio processing module.

```c theme={null}
#define PARAM_ID_MODULE_ENABLE 0x08001026
```

### `PARAM_ID_LIB_VERSION`

```c theme={null}
#define PARAM_ID_LIB_VERSION 0x00010937
```

### `FRAME_SIZE_TYPE_NATIVE`

```c theme={null}
#define FRAME_SIZE_TYPE_NATIVE 0
```

### `FRAME_SIZE_TYPE_US`

```c theme={null}
#define FRAME_SIZE_TYPE_US 1
```

### `FRAME_SIZE_TYPE_SAMPLES_PER_CHANNEL`

```c theme={null}
#define FRAME_SIZE_TYPE_SAMPLES_PER_CHANNEL 2
```

### `PARAM_ID_MODULE_FRAME_SIZE_CFG`

```c theme={null}
#define PARAM_ID_MODULE_FRAME_SIZE_CFG 0x08001252
```

### `PARAM_ID_MLA_ENABLE`

```c theme={null}
#define PARAM_ID_MLA_ENABLE 0x080011DF
```
