cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

gm_sound.h

Go to the documentation of this file.
00001 #pragma once
00002 
00006 
00007 class gm_sound
00008 {
00009 private:
00010         std::map<char*,void*> soundhandleMap;
00011 public: 
00012         gm_sound(void)
00013         {
00014         }
00015         ~gm_sound(void)
00016         {
00017                 
00018         }
00019                         
00020 };
00024 extern bool InitSound(void);
00025 extern bool IsExistSoundDevice(void);
00026 extern void ShutSound(void);
00027 extern int AddWave(char* szFileName);
00028 extern bool IsPlayingSound(int idx);
00029 extern bool PlaySound(int idx,bool bloop=false, bool bignore=true);
00030 extern bool PlaySound(char* szFileName, bool bloop=false, bool bignore=true);
00031 extern int GetSoundIndex(char* szFileName);
00032 extern bool StopSound(int idx);
00033 extern bool StopSound(char* szFileName);
00034 //
00035 extern void EnableSound(bool bflag=true);
00036 
00037 extern bool gm_SOUND_PLAY(int idx);
00038 extern bool gm_SOUND_ISPLAYING(int idx);

Copyright(C) gvSystem & GamePlus All Rights Reserved.