sgdk
snd_pcm4.h
Go to the documentation of this file.
00001 
00019 #ifndef _SND_PCM4_H_
00020 #define _SND_PCM4_H_
00021 
00022 #define SND_isPlaying_4PCM_ENV      _Pragma("GCC error \"This method is deprecated, use SND_PCM4_isPlaying instead.\"")
00023 #define SND_startPlay_4PCM_ENV      _Pragma("GCC error \"This method is deprecated, use SND_PCM4_startPlay instead.\"")
00024 #define SND_stopPlay_4PCM_ENV       _Pragma("GCC error \"This method is deprecated, use SND_PCM4_stopPlay instead.\"")
00025 #define SND_getVolume_4PCM_ENV      _Pragma("GCC error \"This method is deprecated, use SND_PCM4_getVolume instead.\"")
00026 #define SND_setVolume_4PCM_ENV      _Pragma("GCC error \"This method is deprecated, use SND_PCM4_setVolume instead.\"")
00027 
00028 #define SND_isPlaying_4PCM          _Pragma("GCC error \"This method is deprecated, use SND_PCM4_isPlaying instead.\"")
00029 #define SND_startPlay_4PCM          _Pragma("GCC error \"This method is deprecated, use SND_PCM4_startPlay instead.\"")
00030 #define SND_stopPlay_4PCM           _Pragma("GCC error \"This method is deprecated, use SND_PCM4_stopPlay instead.\"")
00031 #define SND_getVolume_4PCM          _Pragma("GCC error \"This method is deprecated, use SND_PCM4_getVolume instead.\"")
00032 #define SND_setVolume_4PCM          _Pragma("GCC error \"This method is deprecated, use SND_PCM4_setVolume instead.\"")
00033 
00040 void SND_PCM4_loadDriver(const bool waitReady);
00047 void SND_PCM4_unloadDriver(void);
00048 
00067 bool SND_PCM4_isPlaying(const u16 channel_mask);
00090 void SND_PCM4_startPlay(const u8 *sample, const u32 len, const SoundPCMChannel channel, const bool loop);
00103 void SND_PCM4_stopPlay(const SoundPCMChannel channel);
00117 void SND_PCM4_setVolume(const SoundPCMChannel channel, const u8 volume);
00132 u8   SND_PCM4_getVolume(const SoundPCMChannel channel);
00133 
00134 #endif // _SND_PCM4_H_
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines