BASS_ErrorGetCode bug

Started by Irrational86,

Irrational86

Ian, there is a bug between the WMA extension and BASS_ErrorGetCode. When you try to open an MP3 and the file doesnt exists, BASS_ErrorGetCode returns 2 (which is cant't open file). If you try to open a WMA file with the WMA library, it returns various error numbers, but the one that it should return..am i right or am i wrong?

MB_SOFT

When you call WMA functions, be sure to call BASS_WMA_ErroGetCode instead of BASS_ErrorGetCode...this is a common programming mistake  8)

Irrational86

Olego

QuoteWhen you call WMA functions, be sure to call BASS_WMA_ErroGetCode instead of BASS_ErrorGetCode...this is a common programming mistake  8)

Why was the function named Erro and not Error?  Is there some secret I'm missing?  :)

~Olego~

Irrational86

Olego, that looks like it was a typing mistake, in the docs and in the source file its BASS_WMA_GetErrorCode
;D