Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sndio::WavHeader::WavHeaderData Struct Reference

WAV header data. More...

#include <wav_header.h>

Public Member Functions

 WavHeaderData (uint32_t chunk_id, uint32_t format, uint32_t subchunk1_id, uint32_t subchunk1_size, uint16_t audio_format, uint16_t num_channels, uint32_t sample_rate, uint32_t byte_rate, uint16_t block_align, uint16_t bits_per_sample, uint32_t subchunk2_id)
 Constructor. More...
 

Public Attributes

const uint32_t chunk_id_
 Chunk ID. More...
 
uint32_t chunk_size_
 Chunk size. More...
 
const uint32_t format_
 Format. More...
 
const uint32_t subchunk1_id_
 Subchunk1 ID. More...
 
const uint32_t subchunk1_size_
 Subchunk1 size. More...
 
const uint16_t audio_format_
 Audio format. More...
 
const uint16_t num_channels_
 Num channels. More...
 
const uint32_t sample_rate_
 Sample rate. More...
 
const uint32_t byte_rate_
 Byte rate. More...
 
const uint16_t block_align_
 Block align. More...
 
const uint16_t bits_per_sample_
 Bits per sample. More...
 
const uint32_t subchunk2_id_
 Subchunk2 ID. More...
 
uint32_t subchunk2_size_
 Subchunk2 size. More...
 

Detailed Description

WAV header data.

Definition at line 28 of file wav_header.h.

Constructor & Destructor Documentation

◆ WavHeaderData()

roc::sndio::WavHeader::WavHeaderData::WavHeaderData ( uint32_t  chunk_id,
uint32_t  format,
uint32_t  subchunk1_id,
uint32_t  subchunk1_size,
uint16_t  audio_format,
uint16_t  num_channels,
uint32_t  sample_rate,
uint32_t  byte_rate,
uint16_t  block_align,
uint16_t  bits_per_sample,
uint32_t  subchunk2_id 
)

Constructor.

Member Data Documentation

◆ audio_format_

const uint16_t roc::sndio::WavHeader::WavHeaderData::audio_format_

Audio format.

Definition at line 54 of file wav_header.h.

◆ bits_per_sample_

const uint16_t roc::sndio::WavHeader::WavHeaderData::bits_per_sample_

Bits per sample.

Definition at line 64 of file wav_header.h.

◆ block_align_

const uint16_t roc::sndio::WavHeader::WavHeaderData::block_align_

Block align.

Definition at line 62 of file wav_header.h.

◆ byte_rate_

const uint32_t roc::sndio::WavHeader::WavHeaderData::byte_rate_

Byte rate.

Definition at line 60 of file wav_header.h.

◆ chunk_id_

const uint32_t roc::sndio::WavHeader::WavHeaderData::chunk_id_

Chunk ID.

Definition at line 43 of file wav_header.h.

◆ chunk_size_

uint32_t roc::sndio::WavHeader::WavHeaderData::chunk_size_

Chunk size.

Definition at line 45 of file wav_header.h.

◆ format_

const uint32_t roc::sndio::WavHeader::WavHeaderData::format_

Format.

Definition at line 47 of file wav_header.h.

◆ num_channels_

const uint16_t roc::sndio::WavHeader::WavHeaderData::num_channels_

Num channels.

Definition at line 56 of file wav_header.h.

◆ sample_rate_

const uint32_t roc::sndio::WavHeader::WavHeaderData::sample_rate_

Sample rate.

Definition at line 58 of file wav_header.h.

◆ subchunk1_id_

const uint32_t roc::sndio::WavHeader::WavHeaderData::subchunk1_id_

Subchunk1 ID.

Definition at line 50 of file wav_header.h.

◆ subchunk1_size_

const uint32_t roc::sndio::WavHeader::WavHeaderData::subchunk1_size_

Subchunk1 size.

Definition at line 52 of file wav_header.h.

◆ subchunk2_id_

const uint32_t roc::sndio::WavHeader::WavHeaderData::subchunk2_id_

Subchunk2 ID.

Definition at line 67 of file wav_header.h.

◆ subchunk2_size_

uint32_t roc::sndio::WavHeader::WavHeaderData::subchunk2_size_

Subchunk2 size.

Definition at line 69 of file wav_header.h.


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