primo::codecs::PcmFlags

Defines constants for various LPCM properties.

enum primo::codecs::PcmFlags::Enum

PcmFlags::Enum.

Values:

enumerator None

No flag is set.

enumerator Unsigned

The audio sample should be interpreted as an unsigned integral value.

The sample resolution (8-bit, 16-bit, etc.) is a separate LPCM property and is not expressed with PcmFlags. This flag is irrelevant when the Float flag is set.

enumerator Float

The audio sample should be interpreted as a floating point value.

The sample resolution (32-bit, 64-bit, etc.) is a separate LCPM property and is not expressed with PcmFlags.

enumerator BigEndian

The sample value is stored in a big-endian format.

When this flag is not set the sample format is little-endian.

enumerator NonInterleaved

When this flag is set audio samples from different channels are not interleaved.

All samples from channel 0 are first in memory. They are followed by all samples from channel 1 and so on for all channels.

When this flag is not set the samples are interleaved. The first samples from all channels are first in memory. They are followed by the second samples from all channels and so on until the last sample in time.