Author Topic: .Opus to .Wav  (Read 513 times)

.Opus to .Wav
« on: 17 Mar '19 - 20:16 »

Is it possible to use BASSENC to convert a .opus file to .wav? The reason i ask is i'm using the code below but it's returning false

Code: [Select]
Using enc As New EncoderWAV(0)
enc.WAV_BitsPerSample = 16
Ret = BaseEncoder.EncodeFile(Filename, s, enc, New BaseEncoder.ENCODEFILEPROC(AddressOf FileEncodingNotification), True, False, False, -1.0F, -1.0F)
End Using

All other formats (.mp3, .m4a, etc) all convert to .WAV no problem.

Ian @ un4seen

  • Administrator
  • Posts: 22305
Re: .Opus to .Wav
« Reply #1 on: 18 Mar '19 - 14:42 »
Are you loading the BASSOPUS add-on via BASS_PluginLoad? If not, you will need to do that first to add support for Opus files.

Code: [Select]
BASS_PluginLoad("bassopus.dll", 0);

Re: .Opus to .Wav
« Reply #2 on: 18 Mar '19 - 16:27 »
That did it! Thanks Ian.