sgdk
sound.h File Reference

General / shared sound driver definitions. More...

Go to the source code of this file.

Defines

#define SOUND_PCM_CH1_MSK   (1 << SOUND_PCM_CH1)
 PCM channel 1 (first channel) selection mask.
#define SOUND_PCM_CH2_MSK   (1 << SOUND_PCM_CH2)
 PCM channel 2 selection mask.
#define SOUND_PCM_CH3_MSK   (1 << SOUND_PCM_CH3)
 PCM channel 3 selection mask.
#define SOUND_PCM_CH4_MSK   (1 << SOUND_PCM_CH4)
 PCM channel 4 selection mask.
#define SOUND_PCM_AUTO   _Pragma("GCC error \"This method is deprecated, use SOUND_PCM_CH_AUTO instead.\"")

Enumerations

enum  SoundPCMChannel {
  SOUND_PCM_CH_AUTO = -1, SOUND_PCM_CH1 = 0, SOUND_PCM_CH2, SOUND_PCM_CH3,
  SOUND_PCM_CH4
}
 Sound PCM channel enum.
enum  SoundPanning { SOUND_PAN_NONE = 0x00, SOUND_PAN_RIGHT = 0x40, SOUND_PAN_LEFT = 0x80, SOUND_PAN_CENTER = 0xC0 }
 Sound panning enum.

Functions

void SND_NULL_loadDriver (void)
 Load the dummy Z80 driver.
void SND_NULL_unloadDriver (void)
 Unload the dummy Z80 driver.

Detailed Description

General / shared sound driver definitions.

Author:
Stephane Dallongeville
Date:
08/2011

This unit provides basic definitions for sound drivers.


Function Documentation

void SND_NULL_loadDriver ( void  )

Load the dummy Z80 driver.

Don't use this method directly, use Z80_loadDriver(..) instead.

void SND_NULL_unloadDriver ( void  )

Unload the dummy Z80 driver.

Don't use this method directly, use Z80_unloadDriver(..) instead.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines