| GPS04 Reference Manual | ||||
|---|---|---|---|---|
#include <PS04-mixer.h>
PS04Mixer;
enum PS04MixerChannelIndex;
PS04Mixer* ps04_mixer_new (void);
const PS04MixerChannel* ps04_mixer_get_channel
(const PS04Mixer *self,
PS04MixerChannelIndex index);
The PS04Mixer class represents the mixer settings of a PS04Project. It contains six channels.
typedef enum
{
PS04_MIXER_CHANNEL_DRUMS = 0,
PS04_MIXER_CHANNEL_BASS = 1,
PS04_MIXER_CHANNEL_AUDIO_1 = 2,
PS04_MIXER_CHANNEL_AUDIO_2 = 3,
PS04_MIXER_CHANNEL_AUDIO_3 = 4,
PS04_MIXER_CHANNEL_AUDIO_4 = 5,
PS04_N_MIXER_CHANNELS = 6
} PS04MixerChannelIndex;
PS04Mixer* ps04_mixer_new (void);
Creates a new mixer.
| Returns : | a new PS04Mixer object. |
const PS04MixerChannel* ps04_mixer_get_channel (const PS04Mixer *self, PS04MixerChannelIndex index);
Gets one of the six mixer channels.
self : |
A PS04MixerChannel. |
index : |
The index of the wanted channel. |
| Returns : | a PS04MixerChannel. |