Sign in to follow this  

Using DirectX to read 32bit float buffers

Recommended Posts

Hi All, I hope someone can help me understand how I can actually just read a file into 32bit floating point buffers. The files I am trying to read could/should be anything that is accesible through the DirectShow interface, so it could be mp3, flac, or anything. Please note, I AM NOT TRYING TO PLAY THESE FILES, I just want the buffers to do some calculations with them, and then I will loose the buffer, read the next file! Currently I use the DSMixAdvanced pack for playing files, but that is all in 16bit, and even if I put the IDirectSound buffers into waveextensible, the samples that come from file (with IAudiData) are still in 16bit. Is there anyway to (quickly) open a file and just read the 24bit buffers? Any help, suggestion or link is much appriciated! Regards, Eric

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this