I'm implementing the settings screen in my app for WMA files and I'm not seeing a WMA_TargetSampleRate setting to allow me to specify the KHz output. How would I specify this so I can call the encoder as follows?:
EncoderWMA encoder = new EncoderWMA(-1);
bool encResult = BaseEncoder.EncodeFile(encoder, new BaseEncoder.ENCODEFILEPROC(FileEncodingNotification), true, false, false, 0, -1);
I also use it to recording audio as well, doing the following:
_myRecProc = new RECORDPROC(RecordingCallBack);
_recHandle = Bass.BASS_RecordStart(44100, 2, BASSFlag.BASS_RECORD_PAUSE, _myRecProc, new IntPtr(_encHandle));
_bassEncoder = new BassEncoding(_recHandle, audioFile.OutputFilename, audioFile);
_bassEncoder.Start();
Does it work such that for the recording, I can replace the 44100 with the KHz I want recorded and when doing a straight encoding, it automatically gets the KHz from the source?
Thanks,
John