Main Page Compound List File List Compound Members File Members

# _CslPcmStatus Struct Reference

PCM stream status type. More...

`#include <cslpcm.h>`

List of all members.

## Public Attributes
unsigned int | rate
unsigned int | n_channels
unsigned int | n_bits
CslPcmFormatType | format
unsigned int | buffer_size
unsigned int | n_bytes_available
unsigned int | packet_size
unsigned int | n_buffer_packets
unsigned int | n_packets_available
unsigned int | padding [128]
float | server_latency

## Detailed Description

PCM stream status type.

A type used to store status information related to PCM streams.

Warning:
  This is still subject to change.

## Member Data Documentation

unsigned int _CslPcmStatus::buffer_size

| buffer_size = n_buffer_packets * packet_size * (n_bits + 7) / 8

CslPcmFormatType _CslPcmStatus::format

unsigned int _CslPcmStatus::n_bits

| sample size in bits. (0==float32bit) n_bytes_per_value = (n_bits + 7) / 8

unsigned int _CslPcmStatus::n_buffer_packets

unsigned int _CslPcmStatus::n_bytes_available

| # of bytes left to read or write

unsigned int _CslPcmStatus::n_channels

| number of channels

unsigned int _CslPcmStatus::n_packets_available

| # of empty packets left to read or write

unsigned int _CslPcmStatus::packet_size

unsigned int _CslPcmStatus::padding[128]

unsigned int _CslPcmStatus::rate

| sampling rate in samples/second

float _CslPcmStatus::server_latency

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

- cslpcm.h