Hi :-)
I am trying to rip an mp3 file from CD and encounter error 33 (Couldnt create the file) on BASS_Encode_MP3_StartFile in this code:
BassEnc_Mp3.BASS_Encode_MP3_GetVersion()
Debug.WriteLine("GetVersion: " & CStr(Bass.BASS_ErrorGetCode))
BassEnc_Mp3.BASS_Encode_MP3_StartFile(stream, EncodingParameter, AddOn.Enc.BASSEncode.BASS_UNICODE, FileName)
Debug.WriteLine("StartFile: " & CStr(Bass.BASS_ErrorGetCode))
Dim encBuffer(35000) As Byte
While Bass.BASS_ChannelIsActive(stream) = CInt(BASSActive.BASS_ACTIVE_PLAYING)
Dim Len As Integer = Bass.BASS_ChannelGetData(stream, encBuffer, 35000)
End While
BassEnc.BASS_Encode_Stop(stream)
Debug.WriteLine("Stop: " & CStr(Bass.BASS_ErrorGetCode))
FileName seems to be okay. Is there anything I am doing wrong?