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

# Dls Log Pkt Hdr API

> This file contains data structures for log packet header.

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

## Functions

### `DLS_PACKED`

Audio log PCM data format container.

Complete log packet structure for logging bitstream data.

Complete log packet structure for logging PCM data.

Common header structure for PCM/bitstream data.

Audio log header for bitstream data.

log\_hdr\_type ,includes length, code and timestamp

```cpp theme={null}
typedef DLS_PACKED(struct)
```

## Enumerations

### `dls_audiolog_tag_t`

#### Values

| Name                       | Value | Description |
| -------------------------- | ----- | ----------- |
| `AUDIOLOG_PCM_DATA_FORMAT` | = 4   |             |
| `AUDIOLOG_BS_DATA_FORMAT`  | = 5   |             |

### `dls_audiolog_data_format_t`

#### Values

| Name                                  | Value | Description |
| ------------------------------------- | ----- | ----------- |
| `AUDIOLOG_FIXED_POINT_DATA_FORMAT`    | = 0   |             |
| `AUDIOLOG_FLOATING_POINT_DATA_FORMAT` | = 1   |             |

## Macros

### `DLS_PACKED`

```c theme={null}
#define DLS_PACKED x __attribute__((__packed__))
```

## Variables

### `dls_header_pcm_data_t`

```cpp theme={null}
 dls_header_pcm_data_t
```

### `dls_header_bitstream_data_t`

```cpp theme={null}
 dls_header_bitstream_data_t
```

### `dls_header_cmn_t`

```cpp theme={null}
 dls_header_cmn_t
```

### `dls_log_hdr_type`

```cpp theme={null}
 dls_log_hdr_type
```

### `dls_log_pkt_pcm_data_t`

```cpp theme={null}
 dls_log_pkt_pcm_data_t
```

### `dls_log_pkt_bitstream_data_t`

```cpp theme={null}
 dls_log_pkt_bitstream_data_t
```
