5#ifndef RHYTHMGAME_NORMALSOUNDBUFFER_H
6#define RHYTHMGAME_NORMALSOUNDBUFFER_H
9#include <QByteArrayView>
26 std::vector<float> samples;
34 const std::filesystem::path& filename);
42 auto getFrames()
const -> ma_uint64
override;
44 auto getSamples()
const -> std::span<const float>
override;
Definition AudioEngine.h:16
A buffer that can be used to create sounds. Wraps an buffer.
Definition NormalSoundBuffer.h:25
auto getSamples() const -> std::span< const float > override
Definition NormalSoundBuffer.cpp:220
auto getFrames() const -> ma_uint64 override
Definition NormalSoundBuffer.cpp:215
A buffer that can be used to create sounds. Wraps an buffer.
Definition SoundBuffer.h:23
The namespace for all sound related classes.
Definition HitRules.h:16