#include "portaudio.h"
#include "portmidi.h"
#include "porttime.h"
#include "workbench_logger.h"
#include "workbench_config.h"
#include "workbench_audio.h"
#include "workbench_midi.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
|
struct | Config |
| Defines the structure for configuration settings. More...
|
|
|
typedef SAMPLE | AudioSample_t |
| Defines AudioSample_t as the type for audio samples. More...
|
|
typedef void(* | AudioCallback) (const void *, void *, unsigned long, void *) |
| Type definition for audio callback functions. More...
|
|
typedef int(* | MidiCallback) (const void *, void *, unsigned long, void *) |
| Type definition for MIDI callback functions. More...
|
|
|
enum | flag_bits { FLAGS =(WORKBENCH_FLAG_ENUMERATE)
} |
| Enumeration of flag bits for feature flags.
|
|
enum | flags { FLAGS =(WORKBENCH_FLAG_ENUMERATE)
} |
| Enumeration of feature flags.
|
|
◆ WORKBENCH_FLAG_ENUMERATE
#define WORKBENCH_FLAG_ENUMERATE |
( |
|
FLAG | ) |
FLAG##_BIT, |
Enumerates flag bits.
The ENUMERATE
macro appends _BIT
to each flag name, creating an enumeration of flag bits. This enumeration assigns a unique index to each flag, which can be used to generate bitwise representations.
- Parameters
-
FLAG | The macro parameter representing a feature flag. |