BASS_ErrorGetCode Return value

Started by Irrational86,

Irrational86

Ian, what if BASS_ErrorGetCode returns 4294967295 ...That is the equivalent to DWORD(-1) but i dont get it, that is not an error code in Bass or BassWMA...

To get this error, try to open mms://10.0.0.1:80/ or any non-existing address starting with mms:// with BASS_WMA_StreamCreateFile(...)


Irrational86

ohh... :-/ ...heh, so why is it error unknown, instead of connection time out??

Ian @ un4seen

BASSWMA checks the error status for a few known cases (eg. unrecognised format, or license required), and just returns BASS_ERROR_UNKNOWN for the rest :)

I'll add checks for failed connection cases in the next release.