SDL  2.0
WaveFormat Struct Reference

#include <SDL_wave.h>

Data Fields

Uint16 formattag
 
Uint16 encoding
 
Uint16 channels
 
Uint32 frequency
 
Uint32 byterate
 
Uint16 blockalign
 
Uint16 bitspersample
 
Uint16 extsize
 
Uint16 validsamplebits
 
Uint32 samplesperblock
 
Uint32 channelmask
 
Uint8 subformat [16]
 

Detailed Description

Definition at line 50 of file SDL_wave.h.

Field Documentation

◆ bitspersample

◆ blockalign

◆ byterate

Uint32 WaveFormat::byterate

Definition at line 56 of file SDL_wave.h.

Referenced by WaveReadFormat().

◆ channelmask

Uint32 WaveFormat::channelmask

Definition at line 68 of file SDL_wave.h.

Referenced by WaveReadFormat().

◆ channels

◆ encoding

Uint16 WaveFormat::encoding

Definition at line 53 of file SDL_wave.h.

Referenced by LAW_Decode(), PCM_Decode(), PCM_Init(), WaveCheckFormat(), WaveLoad(), and WaveReadFormat().

◆ extsize

Uint16 WaveFormat::extsize

Definition at line 63 of file SDL_wave.h.

Referenced by IMA_ADPCM_Init(), MS_ADPCM_Init(), and WaveReadFormat().

◆ formattag

Uint16 WaveFormat::formattag

Definition at line 52 of file SDL_wave.h.

Referenced by IMA_ADPCM_Init(), MS_ADPCM_Init(), WaveCheckFormat(), and WaveReadFormat().

◆ frequency

Uint32 WaveFormat::frequency

Definition at line 55 of file SDL_wave.h.

Referenced by WaveCheckFormat(), WaveLoad(), and WaveReadFormat().

◆ samplesperblock

◆ subformat

Uint8 WaveFormat::subformat[16]

Definition at line 69 of file SDL_wave.h.

Referenced by WaveCheckFormat(), WaveGetFormatGUIDEncoding(), and WaveReadFormat().

◆ validsamplebits

Uint16 WaveFormat::validsamplebits

Definition at line 66 of file SDL_wave.h.

Referenced by WaveReadFormat().


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