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 }
1.3.6