12 lines
362 B
C
12 lines
362 B
C
|
#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();
|