22#ifndef SDL2PP_CHUNK_HH
23#define SDL2PP_CHUNK_HH
29#include <SDL2pp/Export.hh>
54 explicit Chunk(Mix_Chunk* chunk);
66 explicit Chunk(
const std::string& file);
135 Mix_Chunk* Get()
const;
147 int SetVolume(
int volume);
157 int GetVolume()
const;
Fragment of audio data.
Definition: Chunk.hh:43
Chunk & operator=(const Chunk &other)=delete
Deleted assignment operator.
Chunk(const Chunk &other)=delete
Deleted copy constructor.
I/O abstraction.
Definition: RWops.hh:156