JB
2007-09-26 20:13:05 UTC
I have some data sampled from a data acquisition source. The data
does not reside in a WAV file.
I extract and display the data in a rolling chart, but I would also
like to send the data to the speakers using DirectSound, looking at
the SecondaryBuffer constructor it seems to insist on either a wav
file or stream (presumably also originating from file), is there any
way for me to send my raw data to the sound card (which is essentially
just a bunch of voltage levels) using DirectSound?
Thanks,
Joseph
does not reside in a WAV file.
I extract and display the data in a rolling chart, but I would also
like to send the data to the speakers using DirectSound, looking at
the SecondaryBuffer constructor it seems to insist on either a wav
file or stream (presumably also originating from file), is there any
way for me to send my raw data to the sound card (which is essentially
just a bunch of voltage levels) using DirectSound?
Thanks,
Joseph