Workbench Library
0.1b
|
Audio system configuration for Workbench applications. More...
Go to the source code of this file.
Macros | |
#define | SAMPLE_FORMAT Float32 |
Defines the sample format to be used. Change this to change the type of the audio sample. This macro should be set to one of the following values: Float32 , Int32 , Int24 , Int16 , or Int8 . | |
#define | SAMPLE _SAMPLE_TYPE(SAMPLE_FORMAT) |
Defines the type for audio samples based on SAMPLE_FORMAT . More... | |
#define | PA_SAMPLE_FORMAT _PA_SAMPLE_FORMAT(SAMPLE_FORMAT) |
Sample format used by PortAudio. | |
Audio system configuration for Workbench applications.
This header file defines macros for configuring the audio system used in Workbench applications with the PortAudio library. It includes type definitions for audio samples based on the specified sample format.
#define SAMPLE _SAMPLE_TYPE(SAMPLE_FORMAT) |
Defines the type for audio samples based on SAMPLE_FORMAT
.
This macro expands to the type corresponding to SAMPLE_FORMAT
. For example, if SAMPLE_FORMAT
is Float32
, this macro will expand to float
.