cubos::core::al::impl::Buffer class

Abstract audio buffer.

Public functions

void fill(Format format, std::size_t size, const void* data, std::size_t frequency) pure virtual
Fills the buffer with data.

Function documentation

void cubos::core::al::impl::Buffer::fill(Format format, std::size_t size, const void* data, std::size_t frequency) pure virtual

Fills the buffer with data.

Parameters
format Audio format of the data.
size Size of the buffer in bytes.
data Buffer data.
frequency Audio frequency.