struct EE::Audio::SoundFileReader::Info

Overview

Structure holding the audio properties of a sound file. More…

#include <soundfilereader.hpp>

struct Info {
    // fields

    Uint64 sampleCount;
    unsigned int channelCount;
    unsigned int sampleRate;
};

Detailed Documentation

Structure holding the audio properties of a sound file.

Fields

Uint64 sampleCount

Total number of samples in the file.

unsigned int channelCount

Number of channels of the sound.

unsigned int sampleRate

Samples rate of the sound, in samples per second.