forked from tsuki/openroller
27 lines
578 B
C++
27 lines
578 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace openroller::psp {
|
|
|
|
enum class AudioEffect : std::uint8_t {
|
|
Adlib = 0,
|
|
Tap1 = 1,
|
|
Tap2 = 2,
|
|
};
|
|
|
|
bool startAudioPlayer(
|
|
const char* bgmPath,
|
|
const char* shotPath,
|
|
const char* effectDirectory);
|
|
void stopAudioPlayer();
|
|
bool audioPlayerRunning();
|
|
bool audioPlayerFinished();
|
|
std::uint32_t audioPlayerTimeMs();
|
|
void setAudioPlayerPaused(bool paused);
|
|
void seekAudioPlayer(std::uint32_t timeMs);
|
|
void setAudioPlayerShotMuted(bool muted);
|
|
void playAudioPlayerEffect(AudioEffect effect);
|
|
|
|
} // namespace openroller::psp
|