35#define SOUND_RATE_32000 _Pragma("GCC error \"This method is deprecated, use SOUND_PCM_RATE_32000 instead.\"")
36#define SOUND_RATE_22050 _Pragma("GCC error \"This method is deprecated, use SOUND_PCM_RATE_22050 instead.\"")
37#define SOUND_RATE_16000 _Pragma("GCC error \"This method is deprecated, use SOUND_PCM_RATE_16000 instead.\"")
38#define SOUND_RATE_13400 _Pragma("GCC error \"This method is deprecated, use SOUND_PCM_RATE_13400 instead.\"")
39#define SOUND_RATE_11025 _Pragma("GCC error \"This method is deprecated, use SOUND_PCM_RATE_11025 instead.\"")
40#define SOUND_RATE_8000 _Pragma("GCC error \"This method is deprecated, use SOUND_PCM_RATE_8000 instead.\"")
43#define SND_isPlaying_PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM_isPlaying instead.\"")
44#define SND_startPlay_PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM_startPlay instead.\"")
45#define SND_stopPlay_PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM_stopPlay instead.\"")
SoundPcmSampleRate
PCM sample rate values.
Definition snd_pcm.h:25
@ SOUND_PCM_RATE_22050
Definition snd_pcm.h:27
@ SOUND_PCM_RATE_8000
Definition snd_pcm.h:31
void SND_PCM_unloadDriver(void)
Unload the Z80_DRIVER_PCM sound driver.
Definition snd_pcm.c:52
bool SND_PCM_isPlaying(void)
Return play status (Single channel PCM player driver).
Definition snd_pcm.c:57
void SND_PCM_stopPlay(void)
Stop playing (Single channel PCM player driver). No effect if no sample was currently playing.
Definition snd_pcm.c:117
void SND_PCM_startPlay(const u8 *sample, const u32 len, const SoundPcmSampleRate rate, const SoundPanning pan, const bool loop)
Start playing a sample (Single channel PCM player driver). If a sample was currently playing then it...
Definition snd_pcm.c:77
void SND_PCM_loadDriver(const bool waitReady)
Load the Z80_DRIVER_PCM sound driver.
Definition snd_pcm.c:22
SoundPanning
Sound panning enum.
Definition sound.h:31
unsigned long u32
Definition types.h:105
unsigned char u8
Definition types.h:95