struct EE::Audio::SoundStream::Chunk

Overview

Structure defining a chunk of audio data to stream. More…

#include <soundstream.hpp>

struct Chunk {
    // fields

    const Int16* samples;
    std::size_t sampleCount;
};

Detailed Documentation

Structure defining a chunk of audio data to stream.

Fields

const Int16* samples

Pointer to the audio samples.

std::size_t sampleCount

Number of samples pointed by Samples.