diff options
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h new file mode 100644 index 0000000..ed577f6 --- /dev/null +++ b/src/types.h @@ -0,0 +1,22 @@ +// Copyright 2007-2022 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#ifndef JALV_TYPES_H +#define JALV_TYPES_H + +#include "attributes.h" + +JALV_BEGIN_DECLS + +/// Backend playing state +typedef enum { JALV_RUNNING, JALV_PAUSE_REQUESTED, JALV_PAUSED } JalvPlayState; + +/// "Global" application state +typedef struct JalvImpl Jalv; + +/// Audio/MIDI backend +typedef struct JalvBackendImpl JalvBackend; + +JALV_END_DECLS + +#endif // JALV_TYPES_H |