views:

15

answers:

0

Hey SO.
Building a little audio converter which uses Directx to decode the audio (under assumption that the end user has the decoders installed) and I want to write the loaded audio to a wave file in C:\Temp\ to send to the audio compressor because the audio compressors only support uncompressed WAV format.
I'm having a bit of trouble though, I am coding:

Dim aconversion As Audio = Audio.FromFile(labinputfile.Text, False)

(labinputfile is a text box with the path to the audio file) But I don't know what to do afterwards...I want to write the audio uncompressed using the same sample rate and the same bit depth but I am unsure how to do all that.
I tried My.Computer.Clipboard.SetAudio but I couldn't get that to work right...

Any help is appreciated!