3d sound: minimum data structure for a 3d source

Started by
-1 comments, last by DirectXXX 19 years, 11 months ago
In direct3d sound, for each source of sound I have this data structure struct { IDirectMusicAudioPath8* m3DAudioPath; IDirectSound3DBuffer8* mDSB; IDirectSound3DListener8* mListener; } But I have 300 sound emitting objects and all are moving and are updated with DS3D_IMMEDIATE flag. So whole game slows down a lot. FPS drop from 100 fps to 10 fps. So was that minumum data struct for each sound emitter. Or should there be "only one" IDirectMusicAudioPath8 and IDirectSound3DListener8.
3D Side-Scroller game demo Project-X2 "playable"Lashkar: A 3D Game & Simulation Project demo @ lashkar.berlios.de

This topic is closed to new replies.

Advertisement