00001 /** 00002 * @file SoundData.h 00003 * 00004 * Definition of SoundData. 00005 * 00006 * @author <a href="mailto:Oliver.Giese@uni-dortmund.de">Oliver Giese</a> 00007 * @author <a href="mailto:matthias.hebbel@uni-dortmund.de">Matthias Hebbel</a> 00008 * 00009 */ 00010 00011 #ifndef __SoundData_h_ 00012 #define __SoundData_h_ 00013 00014 #include "Tools/Streams/InOut.h" 00015 00016 /** 00017 * The SoundData is a non NDA violating description of Sound Vector data. 00018 */ 00019 class SoundData 00020 { 00021 public: 00022 char pcmBuffer[256]; 00023 bool isInUse; 00024 00025 /** 00026 * constructs a SoundData. 00027 */ 00028 SoundData(); 00029 00030 /** 00031 * deconstructs a SoundData. 00032 */ 00033 ~SoundData(); 00034 }; 00035 00036 /** 00037 * Streaming operator that reads the SoundData from a stream. 00038 * @param stream The stream from which is read. 00039 * @param soundData The SoundSendData object. 00040 * @return The stream. 00041 */ 00042 In& operator>>(In& stream,SoundData& soundData); 00043 00044 #endif //__SoundData_h_
1.3.6