carb::audio::WaveEncoderSettings
Defined in carb/audio/IAudioData.h
-
struct WaveEncoderSettings
Settings specific to wave file encoding.
This is not required when encoding wave audio. This can optionally be specified when encoding into any PCM format.
Public Members
-
bool alignDataChunk = true
If this is specified, up to 10 bytes of padding will be added to align the data chunk for its data format, so that decoding will be more efficient.
This is done with a ‘JUNK’ chunk. The data chunk can only be misaligned for SampleFormat::ePcm32 and SampleFormat::ePcmFloat.
-
bool alignDataChunk = true