00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef GE_SOUND_H
00023 #define GE_SOUND_H
00024
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028
00029
00030
00031
00032 typedef struct geSound_System geSound_System;
00033 typedef struct geSound_Def geSound_Def;
00034 typedef struct geSound geSound;
00035
00036
00037 #ifdef _INC_WINDOWS
00038
00039 GENESISAPI geSound_System *geSound_CreateSoundSystem(HWND hWnd);
00040 #endif
00041
00042 GENESISAPI void geSound_DestroySoundSystem(geSound_System *Sound);
00043
00044
00045 GENESISAPI geSound_Def *geSound_LoadSoundDef(geSound_System *SoundS, geVFile *File);
00046 GENESISAPI void geSound_FreeSoundDef(geSound_System *SoundS,
00047 geSound_Def *SoundDef);
00048
00049 GENESISAPI void geSound_FreeAllChannels(geSound_System *SoundS);
00050
00051 GENESISAPI geSound *geSound_PlaySoundDef(geSound_System *SoundS,
00052 geSound_Def *SoundDef,
00053 geFloat Volume,
00054 geFloat Pan,
00055 geFloat Frequency,
00056 geBoolean Loop);
00057 GENESISAPI geBoolean geSound_StopSound(geSound_System *SoundS, geSound *Sound);
00058 GENESISAPI geBoolean geSound_ModifySound(geSound_System *SoundS,
00059 geSound *Sound,
00060 geFloat Volume,
00061 geFloat Pan,
00062 geFloat Frequency);
00063 GENESISAPI geBoolean geSound_SoundIsPlaying(geSound_System *SoundS, geSound *Sound);
00064 GENESISAPI geBoolean geSound_SetMasterVolume( geSound_System *SoundS, geFloat Volume );
00065
00066 GENESISAPI void *geSound_GetDSound(void);
00067
00068
00069
00070
00071 #ifdef __cplusplus
00072 }
00073 #endif
00074
00075 #endif
00076