Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

jAPIsounds.h

Go to the documentation of this file.
00001 
00002 //---------------------------------------------------------------------------
00003 #ifndef jAPIsoundsH
00004 #define jAPIsoundsH
00005 //---------------------------------------------------------------------------
00006 
00007 #include <vcl.h>
00008 
00009 #include <mplayer.hpp>
00010 
00011 bool __fastcall jSNDplay(TMediaPlayer * mp, AnsiString FileName);
00012 
00013 class jSound
00014 {
00015         TMemoryStream * stream;
00016 
00017         public:
00018         jSound();
00019         ~jSound();
00020 
00021         bool __fastcall play(bool _loop=false);
00022         bool __fastcall stop();        
00023         bool __fastcall loadFromStream(TStream * _str);
00024         bool __fastcall saveToStream(TStream * _str);
00025         bool __fastcall assign(const jSound & _sound);
00026 
00027         bool __fastcall loadFromFile(AnsiString _fileName);
00028         bool __fastcall saveToFile(AnsiString _fileName);
00029 };
00030 
00031 
00032 
00033 #endif

Generated on Sat Nov 15 10:52:34 2003 for JAPI by doxygen 1.3.4