00001 /** 00002 * @file SoundData.cpp 00003 * 00004 * Implementation of class 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 #include "SoundData.h" 00011 #include <string.h> 00012 00013 SoundData::SoundData() 00014 { 00015 isInUse = false; 00016 memset(pcmBuffer, 0, 256); 00017 } 00018 00019 SoundData::~SoundData() 00020 { 00021 } 00022 00023 In& operator>>(In& stream,SoundData& soundData) 00024 { 00025 stream.read(&soundData,sizeof(SoundData)); 00026 return stream; 00027 } 00028 00029 /* 00030 * Change log : 00031 * 00032 * $Log: SoundData.cpp,v $ 00033 * Revision 1.1.1.1 2004/05/22 17:26:04 cvsadm 00034 * created new repository GT2004_WM 00035 * 00036 * Revision 1.1 2003/10/07 10:09:36 cvsadm 00037 * Created GT2004 (M.J.) 00038 * 00039 * Revision 1.1.1.1 2003/07/02 09:40:23 cvsadm 00040 * created new repository for the competitions in Padova from the 00041 * tamara CVS (Tuesday 2:00 pm) 00042 * 00043 * removed unused solutions 00044 * 00045 * Revision 1.2 2002/11/28 23:04:28 hebbel 00046 * added variable isInUse 00047 * 00048 * Revision 1.1 2002/09/10 15:26:41 cvsadm 00049 * Created new project GT2003 (M.L.) 00050 * - Cleaned up the /Src/DataTypes directory 00051 * - Removed Challenge Code 00052 * - Removed processing of incoming audio data 00053 * - Renamed AcousticMessage to SoundRequest 00054 * 00055 * Revision 1.1.1.1 2002/05/10 12:40:13 cvsadm 00056 * Moved GT2002 Project from ute to tamara. 00057 * 00058 * Revision 1.1 2002/04/28 19:09:25 giese 00059 * SoundPlay added... 00060 * 00061 * 00062 * 00063 */