nicolasr
2006-02-03 01:49:12 UTC
Hi,
I'm currently working at an audio program that
works with integer PCM data and outputs the
samples via DirectSound as integer PCM data.
After trying to implement several sound processing
algorithms I found it much easier to work with
float data. I have now written a converter to get float data
from .wav files and work with float samples internally.
My question is:
can I use the WAVEFORMATIEEEFLOATEX structure
to tell DirectSound to play float samples?
What are the requirements to play float samples via
DirectSound?
Does it depend on the operating system, the sound
card or the DirectX version?
Should I, for compatibility reasons, always convert the data to
a standard format myself before playing it with DirectSound?
(my minimum OS requirement is Win2K)
thanks for sharing your experience.
Nick
I'm currently working at an audio program that
works with integer PCM data and outputs the
samples via DirectSound as integer PCM data.
After trying to implement several sound processing
algorithms I found it much easier to work with
float data. I have now written a converter to get float data
from .wav files and work with float samples internally.
My question is:
can I use the WAVEFORMATIEEEFLOATEX structure
to tell DirectSound to play float samples?
What are the requirements to play float samples via
DirectSound?
Does it depend on the operating system, the sound
card or the DirectX version?
Should I, for compatibility reasons, always convert the data to
a standard format myself before playing it with DirectSound?
(my minimum OS requirement is Win2K)
thanks for sharing your experience.
Nick