Hello!
I am writing a webradio app in Delphi2010 and (though this may seem surprising to many) bass.dll is at its very core. First of all I would like to thank the developers for this wonderful piece of software!
I have encountered a very strange problem, though... after getting BASS_CHANNELINFO like this:
if not BASS_ChannelGetInfo(Channel, &ChInfo) then ShowMessage('nothing to do, sorry');
I then try to retrive the name of the file being played (BASS_CHANNELINFO.filename^). If I retreive it as AnsiString, some of the letters seem to have been lost somewhere somehow: the string
always begins with
'ht:'
instead of
'http:'
, and the rest of the string also misses lots of letters. If I try to retrieve it as a WideString, it's even worse... What may be the problem here? Can it be solved? I would greatly appreciate any suggestions, thanks.