Hi.
I need some help with the BASS wrapper. I am using BASSex at the moment.
Basically, to get the playback seconds of a mp3, you need to put in the main loop the following:
Position = BASS_ChannelGetPosition (Stream)
Seconds = BASS_ChannelBytes2Seconds(Stream,Position)
(where Stream is the Bass stream playing).
Everything is correct if I just use the first line, to get Bytes played, but as soon as I add ChannelBytes2Seconds everything goes crazy and the app crashes.
I've noticed that if I put the variable "Seconds" as float, the result I have is something like 2.82343e+011...
What am I doing wrong????
Thanks
I need some help with the BASS wrapper. I am using BASSex at the moment.
Basically, to get the playback seconds of a mp3, you need to put in the main loop the following:
Position = BASS_ChannelGetPosition (Stream)
Seconds = BASS_ChannelBytes2Seconds(Stream,Position)
(where Stream is the Bass stream playing).
Everything is correct if I just use the first line, to get Bytes played, but as soon as I add ChannelBytes2Seconds everything goes crazy and the app crashes.
I've noticed that if I put the variable "Seconds" as float, the result I have is something like 2.82343e+011...
What am I doing wrong????
Thanks