hi, everyone....
ok, i have a playlist and im using bassmix and bassenc, and im doing the following to record to file.....
BASS_Mixer_ChannelRemove(stream);
if(g_==0)
mix=BASS_Mixer_StreamCreate(44100, 1, BASS_SPEAKER_N(f_)|BASS_SPEAKER_LEFT);
else
mix=BASS_Mixer_StreamCreate(44100, 1, BASS_SPEAKER_N(f_)|BASS_SPEAKER_RIGHT);
stream=BASS_StreamCreateFile(FALSE,filepath.toLatin1().data(),0,0,BASS_SAMPLE_FLOAT|BASS_STREAM_DECODE);
stream=BASS_FX_TempoCreate(stream,BASS_SAMPLE_FLOAT|BASS_STREAM_DECODE);
set_handler(stream);
BASS_Mixer_StreamAddChannel(mix,temp,0);
encoder = BASS_Encode_Start(mix, "lame --alt-preset standard - /home/alex/Escritorio/canal.mp3", BASS_ENCODE_LIMIT, NULL, 0);
BASS_ChannelPlay(encoder,0);
BASS_ChannelPlay(mix,FALSE);
temp_title = filepath.split("/").last();
media_path = filepath;
BASS_Encode_SetChannel(encoder,mix);
but everytime the playlist jumps to the next song bassenc overwrites the file and i want it to keep recording.... how can i achieve this with bassenc?
