feat: detect steps and play audio

This commit is contained in:
2026-03-04 01:31:35 +01:00
parent 804f83340f
commit e22478445d
18 changed files with 435 additions and 17 deletions

View File

@@ -5,13 +5,16 @@
#ifndef LOCKSTEP_PLAYBACKENGINE_H
#define LOCKSTEP_PLAYBACKENGINE_H
#include "StepListener.h"
#include "MixingPlayer.h"
#include <string>
class PlaybackEngine {
class PlaybackEngine : public StepListener {
public:
PlaybackEngine(std::string filesDir, int resid);
virtual ~PlaybackEngine();
/** Play a beat sound. */
virtual void playBeat();
private:
MixingPlayer *mPlayer;
std::string mFilesDir;