fix: update test_engine.c to use AppState/reducer and fix duplicate enum in transport.h
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
773
test_engine.c
773
test_engine.c
File diff suppressed because it is too large
Load Diff
11
transport.h
11
transport.h
@@ -11,16 +11,7 @@
|
|||||||
#define BEATS_PER_BAR 4
|
#define BEATS_PER_BAR 4
|
||||||
#define DEFAULT_BPM 120.0
|
#define DEFAULT_BPM 120.0
|
||||||
|
|
||||||
typedef enum {
|
#include "dispatcher.h"
|
||||||
TRANSPORT_STOPPED,
|
|
||||||
TRANSPORT_PLAYING,
|
|
||||||
TRANSPORT_PAUSED
|
|
||||||
} TransportState;
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
CLOCK_SOURCE_INTERNAL, // Master clock
|
|
||||||
CLOCK_SOURCE_MIDI // Slave to external MIDI clock
|
|
||||||
} ClockSource;
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
// State
|
// State
|
||||||
|
|||||||
Reference in New Issue
Block a user