Files
lockstep/app/src/main/cpp/PlaybackEngine.h

24 lines
480 B
C
Raw Normal View History

2026-02-01 02:54:05 +01:00
//
// Created by david on 01.02.2026.
//
#ifndef LOCKSTEP_PLAYBACKENGINE_H
#define LOCKSTEP_PLAYBACKENGINE_H
2026-03-04 01:31:35 +01:00
#include "StepListener.h"
#include "MixingPlayer.h"
2026-03-03 12:04:17 +01:00
#include <string>
2026-02-01 02:54:05 +01:00
2026-03-04 01:31:35 +01:00
class PlaybackEngine : public StepListener {
2026-02-01 02:54:05 +01:00
public:
PlaybackEngine(std::string filesDir, int resid);
2026-02-01 02:54:05 +01:00
virtual ~PlaybackEngine();
2026-03-04 01:31:35 +01:00
/** Play a beat sound. */
virtual void playBeat();
2026-02-01 02:54:05 +01:00
private:
MixingPlayer *mPlayer;
2026-03-03 12:04:17 +01:00
std::string mFilesDir;
2026-02-01 02:54:05 +01:00
};
#endif //LOCKSTEP_PLAYBACKENGINE_H