comparison AudioPlayer.h @ 1113:39eaa6b00141

something to bool cast (performance warning) mostly fixed
author Grumpy7
date Tue, 28 May 2013 00:19:45 +0200
parents eac5af72b614
children fa30ea497e94
comparison
equal deleted inserted replaced
1112:4994eb3947ae 1113:39eaa6b00141
239 char pData[1]; 239 char pData[1];
240 }; 240 };
241 241
242 struct SoundDesc 242 struct SoundDesc
243 { 243 {
244 inline bool Is3D() {return uFlags & SOUND_DESC_3D;} 244 inline bool Is3D() {return (uFlags & SOUND_DESC_3D) != 0;}
245 245
246 char pSoundName[32]; 246 char pSoundName[32];
247 unsigned int uSoundID; 247 unsigned int uSoundID;
248 SOUND_DESC_TYPE eType; 248 SOUND_DESC_TYPE eType;
249 int uFlags; 249 int uFlags;