NativeAudioInfo struct
#include <nCine/Audio/IAudioDevice.h>
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
0where the content is not a waveform (a tracker module). -
std::
int32_t NumChannels - Number of channels.
-
std::
int32_t Frequency - Sample frequency, or
0if not known. -
std::
int32_t NumSamples - Total number of samples, or
-1if not known.