Q. If I wish to play overlapping copies
of a sound, do I have to load multiple copies?
While this will require multiple DirectSoundBuffer objects, you only need to
perform the load once. You can make duplicate objects with the
IDirectSound::DuplicateSoundBuffer function. These objects will reference
the same memory buffer, so no additional memory will be required. The
playback parameters for each object may be set independently.
Back to the Top
Back to Main Index
Q. Why, when compiling in DirectX 7,
does using the DSBCAPS_CTRLDEFAULT cause an error?
This flag has been removed to encourage utilizing only those flags that are
needed. This minimizes the resources needed, and in some cases may provide
better selection of appropriate devices. This flag was previously defined
as DSBCAPS_CTRLPAN | DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLFREQUENCY.
Back to the Top
Back to Main Index