looper/include/playback_backend.h

12 lines
362 B
C
Raw Permalink Normal View History

2024-10-14 21:27:16 -07:00
#pragma once
#include <protobuf-c
typedef struct {
const char *name;
const char *id;
void (*seek)(playback_backend_t backend, double position);
void (*set_rate)(playback_backend_t backend, double value);
double (*get_rate)(playback_backend_t backend);
bool set(const char *path)
} playback_backend_t;
playback_backend_t create_backend();