It's been a while since I've played with the api, and for some reason I cannot get it to play correctly. It plays only the first couple notes, stuttering. Here's the code
int streamId = Un4seen.Bass.Bass.BASS_StreamCreateFile(fileName, 0L, 0L, BASSFlag.BASS_SAMPLE_FLOAT | BASSFlag.BASS_STREAM_DECODE | BASSFlag.BASS_STREAM_PRESCAN);
if (streamId != 0)
{
int fx = Un4seen.Bass.AddOn.Fx.BassFx.BASS_FX_TempoCreate(streamId, BASSFlag.BASS_FX_FREESOURCE | BASSFlag.BASS_STREAM_AUTOFREE);
if (fx != 0)
{
Un4seen.Bass.Bass.BASS_ChannelPlay(fx, false);
}
}
I am using the bass.net library, and many songs, it is just clicking...