libmsx
C library for MSX
|
Software envelope genenator interface for sound.h
.
More...
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | sound_eg_AHDSR |
Parameters for AHDSR envelope generator. More... | |
struct | sound_eg_LPCM |
Parameters for linear PCM (8-bit, 60Hz) envelope generator. More... | |
struct | sound_eg_attribute |
Attributes of a software envelope generator object. More... | |
union | sound_eg_attribute.__unnamed3__ |
Macros | |
#define | SOUND_EG_H |
#define | SOUND_EG_TABLE_MAX (16) |
The maximum number of elements for the envelope generator attribute table. | |
#define | SOUND_EG_AHDSR (0) |
The class identifier for AHDSR envelope generator. | |
#define | SOUND_EG_LPCM (1) |
The class identifier for LPCM envelope generator. | |
Functions | |
void | sound_set_eg_table (const struct sound_eg_attribute *table) |
MSX (Re)set the software envelope generator attribute table. | |
Software envelope genenator interface for sound.h
.
Definition in file sound_eg.h.
#define SOUND_EG_H |
Definition at line 21 of file sound_eg.h.