22#define SND_isPlaying_4PCM_ENV _Pragma("GCC error \"This method is deprecated, use SND_PCM4_isPlaying instead.\"")
23#define SND_startPlay_4PCM_ENV _Pragma("GCC error \"This method is deprecated, use SND_PCM4_startPlay instead.\"")
24#define SND_stopPlay_4PCM_ENV _Pragma("GCC error \"This method is deprecated, use SND_PCM4_stopPlay instead.\"")
25#define SND_getVolume_4PCM_ENV _Pragma("GCC error \"This method is deprecated, use SND_PCM4_getVolume instead.\"")
26#define SND_setVolume_4PCM_ENV _Pragma("GCC error \"This method is deprecated, use SND_PCM4_setVolume instead.\"")
28#define SND_isPlaying_4PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM4_isPlaying instead.\"")
29#define SND_startPlay_4PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM4_startPlay instead.\"")
30#define SND_stopPlay_4PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM4_stopPlay instead.\"")
31#define SND_getVolume_4PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM4_getVolume instead.\"")
32#define SND_setVolume_4PCM _Pragma("GCC error \"This method is deprecated, use SND_PCM4_setVolume instead.\"")
void SND_PCM4_setVolume(const SoundPCMChannel channel, const u8 volume)
Change envelop / volume of specified channel (4 channels PCM player driver).
Definition snd_pcm4.c:171
void SND_PCM4_loadDriver(const bool waitReady)
Load the Z80_DRIVER_PCM4 sound driver.
Definition snd_pcm4.c:24
void SND_PCM4_unloadDriver(void)
Unload the Z80_DRIVER_PCM4 sound driver.
Definition snd_pcm4.c:58
bool SND_PCM4_isPlaying(const u16 channel_mask)
Return play status of specified channel (4 channels PCM player driver).
Definition snd_pcm4.c:64
void SND_PCM4_startPlay(const u8 *sample, const u32 len, const SoundPCMChannel channel, const bool loop)
Start playing a sample on specified channel (4 channels PCM player driver). If a sample was currentl...
Definition snd_pcm4.c:84
u8 SND_PCM4_getVolume(const SoundPCMChannel channel)
Return envelop / volume level of specified channel (4 channels PCM player driver).
Definition snd_pcm4.c:188
void SND_PCM4_stopPlay(const SoundPCMChannel channel)
Stop playing the specified channel (4 channels PCM player driver). No effect if no sample was curren...
Definition snd_pcm4.c:141
SoundPCMChannel
Sound PCM channel enum.
Definition sound.h:18
unsigned long u32
Definition types.h:105
unsigned short u16
Definition types.h:100
unsigned char u8
Definition types.h:95