#pragma once

#include <SDL3/SDL_stdinc.h>

class crApp;

class crDevAudio
{
public:
    bool enabled = false;

private:
    crApp* _app = nullptr;

    char _bgmName[ 64 ] = {};
    bool _bgmLoop       = true;

    int32_t _sfxIndex  = 0;
    float   _sfxVolume = 1.0f;
    float   _sfxPan    = 0.0f;

public:
    void Init( crApp* app );
    void Cleanup();

    void TryRenderPanel();
};
