pgSndMgr Class Reference
[pgSnd -- Sound module]

TODO. More...

#include <pg_snd_mgr.h>

List of all members.

Classes

struct  SoundInfo
struct  TrackInfo

Public Types

enum  ChannelNum { CHANNEL_NUM_MONO = 1, CHANNEL_NUM_STEREO = 2 }
enum  SampleRate { SAMPLE_RATE_11KHZ = 11025, SAMPLE_RATE_22KHZ = 22050, SAMPLE_RATE_44KHZ = 44100 }

Public Member Functions

 pgDefineException (ExceptionInvalidArgument)
 pgDefineException (ExceptionInvalidCall)
 pgDefineException (ExceptionInvalidType)
 pgDefineException (ExceptionNotFound)
 pgDefineException (ExceptionNotInitialized)
 pgDefineException (ExceptionWaveInitializerFailed)

Static Public Member Functions

static bool isCreated ()
static void createAfterRes ()
static void destroyBeforeRes ()
static bool isSoundDeviceOpen ()
static bool openSoundDevice (ChannelNum channel_num, SampleRate sample_rate, u16 snd_mix_buf_msec)
static void closeSoundDevice ()
static ChannelNum getSoundDeviceChannelNum ()
static SampleRate getSoundDeviceSampleRate ()
static u16 getSoundMixBufferMsec ()
static ChannelNum getChannelNum (pgID snd_id)
static SampleRate getSampleRate (pgID snd_id)
static u32 getSampleNum (pgID snd_id)
static u8 getTrackVolume (u8 trk_no)
static void setTrackVolume (u8 trk_no, u8 trk_vol)
static void fadeTrackVolume (u8 trk_no, u8 to_trk_vol, r32 delta_per_frame)
static bool isPlaying (u8 trk_no)
static void play (u8 trk_no, pgID snd_id, u8 snd_vol, bool is_play_loop, u32 play_pos=0)
static void stop (u8 trk_no)
static pgID getPlayingSoundID (u8 trk_no)
static u8 getPlayingSoundVolume (u8 trk_no)
static bool isPlayingLoop (u8 trk_no)
static u32 getPlayingPosition (u8 trk_no)

Static Public Attributes

static const u32 TRACK_NUM = 4

Friends

class pgSndDaemon


Detailed Description

TODO.
The documentation for this class was generated from the following file:

Generated on Sat Aug 15 11:24:38 2009 for Pogolyn by  doxygen 1.5.8