Tizen RT Public API  v1.1 D4
pcm_config Struct Reference

Encapsulates the hardware and software parameters of a PCM. More...

#include <tinyalsa.h>

Data Fields

unsigned int channels
 
unsigned int rate
 
unsigned int period_size
 
unsigned int period_count
 
enum pcm_format format
 
unsigned int start_threshold
 
unsigned int stop_threshold
 
unsigned int silence_threshold
 

Detailed Description

Encapsulates the hardware and software parameters of a PCM.

Definition at line 189 of file tinyalsa.h.

Field Documentation

◆ channels

unsigned int channels

The number of channels in a frame

Definition at line 191 of file tinyalsa.h.

◆ format

enum pcm_format format

The sample format of a PCM

Definition at line 199 of file tinyalsa.h.

◆ period_count

unsigned int period_count

The number of periods in a PCM

Definition at line 197 of file tinyalsa.h.

◆ period_size

unsigned int period_size

The number of frames in a period

Definition at line 195 of file tinyalsa.h.

◆ rate

unsigned int rate

The number of frames per second

Definition at line 193 of file tinyalsa.h.

◆ silence_threshold

unsigned int silence_threshold

The minimum number of frames to silence the PCM

Definition at line 213 of file tinyalsa.h.

◆ start_threshold

unsigned int start_threshold

The minimum number of frames required to start the PCM

Definition at line 209 of file tinyalsa.h.

◆ stop_threshold

unsigned int stop_threshold

The minimum number of frames required to stop the PCM

Definition at line 211 of file tinyalsa.h.


The documentation for this struct was generated from the following file: