PS04Mixer

PS04Mixer — mixer settings

Synopsis


#include <PS04-mixer.h>


            PS04Mixer;
enum        PS04MixerChannelIndex;
PS04Mixer*  ps04_mixer_new                  (void);
const PS04MixerChannel* ps04_mixer_get_channel
                                            (const PS04Mixer *self,
                                             PS04MixerChannelIndex index);

Object Hierarchy


  GObject
   +----PS04Mixer

Implemented Interfaces

PS04Mixer implements PS04Streamable.

Description

The PS04Mixer class represents the mixer settings of a PS04Project. It contains six channels.

Details

PS04Mixer

typedef struct _PS04Mixer PS04Mixer;


enum PS04MixerChannelIndex

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;


ps04_mixer_new ()

PS04Mixer*  ps04_mixer_new                  (void);

Creates a new mixer.

Returns : a new PS04Mixer object.

ps04_mixer_get_channel ()

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.

See Also

PS04MixerChannel