nCine::IAudioDevice::NativeAudioInfo struct

Properties of audio the device plays in a format of its own.

Filled in by loadNativeBuffer() and openNativeStream(), so that AudioBuffer and AudioStream can answer their callers as if they had decoded the file themselves.

Public variables

std::int32_t BytesPerSample
Bytes per decoded sample, or 0 where the content is not a waveform (a tracker module).
std::int32_t NumChannels
Number of channels.
std::int32_t Frequency
Sample frequency, or 0 if not known.
std::int32_t NumSamples
Total number of samples, or -1 if not known.