Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::audio::PcmFormat Struct Reference

PCM format description. More...

#include <pcm_format.h>

Public Member Functions

 PcmFormat ()
 Initialize.
 
 PcmFormat (PcmCode enc, PcmEndian end)
 Initialize.
 
bool operator== (const PcmFormat &other) const
 Check two formats for equality.
 
bool operator!= (const PcmFormat &other) const
 Check two formats for equality.
 

Public Attributes

PcmCode code
 Sample binary code.
 
PcmEndian endian
 Sample endianess.
 

Detailed Description

PCM format description.

Definition at line 61 of file pcm_format.h.

Constructor & Destructor Documentation

◆ PcmFormat() [1/2]

roc::audio::PcmFormat::PcmFormat ( )
inline

Initialize.

Definition at line 69 of file pcm_format.h.

◆ PcmFormat() [2/2]

roc::audio::PcmFormat::PcmFormat ( PcmCode enc,
PcmEndian end )
inline

Initialize.

Definition at line 75 of file pcm_format.h.

Member Function Documentation

◆ operator!=()

bool roc::audio::PcmFormat::operator!= ( const PcmFormat & other) const
inline

Check two formats for equality.

Definition at line 86 of file pcm_format.h.

◆ operator==()

bool roc::audio::PcmFormat::operator== ( const PcmFormat & other) const
inline

Check two formats for equality.

Definition at line 81 of file pcm_format.h.

Member Data Documentation

◆ code

PcmCode roc::audio::PcmFormat::code

Sample binary code.

Definition at line 63 of file pcm_format.h.

◆ endian

PcmEndian roc::audio::PcmFormat::endian

Sample endianess.

Definition at line 66 of file pcm_format.h.


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