---
name: "struct_snd_compr_tstamp"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_snd_compr_tstamp"
---

# struct\_snd\_compr\_tstamp(9)

timestamp descriptor

## NAME

struct\_snd\_compr\_tstamp - timestamp descriptor

## SYNOPSIS

```
struct snd_compr_tstamp {
  __u32 byte_offset;
  __u32 copied_total;
  __u32 pcm_frames;
  __u32 pcm_io_frames;
  __u32 sampling_rate;
};
```

## MEMBERS

byte\_offset

Byte offset in ring buffer to DSP

copied\_total

Total number of bytes copied from/to ring buffer to/by DSP

pcm\_frames

Frames decoded or encoded by DSP. This field will evolve by large steps and should only be used to monitor encoding/decoding progress. It shall not be used for timing estimates.

pcm\_io\_frames

Frames rendered or received by DSP into a mixer or an audio output/input. This field should be used for A/V sync or time estimates.

sampling\_rate

sampling rate of audio

## COPYRIGHT
