Hi Guys, I am playing around with the VB Module of DBPoweramp.
I seem to be stuck when trying to convert to WMA. If someone could throw some hints my way it would be most appreciated.
My code looks like this:
The MP3 part works flawlessly but the WMA one always tells me it cannot open the codec. Any ideas?
Really appreciate the help if you can.
Thanks
Dan
I seem to be stuck when trying to convert to WMA. If someone could throw some hints my way it would be most appreciated.
My code looks like this:
Code:
Case "MP3" Set Mp3Settings = CreateObject("dMCScripting.MP3Settings") Call Mp3Settings.Set(BitRate(X), SampleRate(X), 0, 0) ' Convert To MP3 (No option page, Want Overwrite page, Want finished, Want Errors) Call dMC.GoConversion("Mp3 (Lame)", True, False, False, False) Case "WMA" Set WMASettings = CreateObject("dMCScripting.WMASettings") Call WMASettings.SetWMA("Windows Media Audio 9.1", "192 kbps, 44kHz, stereo CBR", CBR) ' Convert To WMA (No option page, Want Overwrite page, Want finished, Want Errors) Call dMC.GoConversion("Windows Media Audio V9.1", True, False, False, False) End Select
Really appreciate the help if you can.
Thanks
Dan
Comment