//
// Created by sebastian on 05.08.26.
//

#ifndef COLORRACE_PLAYSOUNDCOMPONENT_H
#define COLORRACE_PLAYSOUNDCOMPONENT_H
#include <functional>
#include <memory>

#include "../SoundBuffer.h"

namespace engine::audio {
    struct PlaySoundComponent {
        float gain = 1.f;
        bool started = false;
        bool blocking = false;
        std::function<void()> onFinished;
    };
}

#endif //COLORRACE_PLAYSOUNDCOMPONENT_H
