Hi everyone,
I'm a relatively green C# guy; I spent most of my career on the sound side of things.
I need to programatically encode many files from WAV to FLAC, and then decode them back from FLAC to WAV.
I worked out how to use BaseEncoder.EncodeFile with an EncoderFLAC instance to handle the encode. No problem there. But I'm running into problems finding an easy way to decode the FLAC file back into WAV. Unless I'm missing something blindingly obvious (entirely possible), BaseEncoder.EncodeFile doesn't seem to support decoding the file from FLAC to WAV.
I've tried adding a "-d" flag to the FLAC_CustomOptions field, and I've tried turning FLAC_UseCustomOptionsOnly on. Neither seems to do the trick.
Should I be calling EncoderFLAC.Start() and feeding the stream into a WaveWriter? That's a bit more of a pain for me because I'm not terribly experienced, so I'd like to take the quicker, less error-prone way if possible.

Thanks!