How to convert wma file to mp3 ?
You can use BASSWMA and BASSenc (with LAME) to do that, something like this...
decoder=BASS_WMA_StreamCreateFile(FALSE, "in.wma", 0, 0, BASS_STREAM_DECODE); // open WMA file for decoding
BASS_Encode_Start(decoder, "lame - out.mp3", BASS_ENCODE_AUTOFREE, NULL, NULL); // set MP3 encoder on it
while (BASS_ChannelIsActive(decoder)) { // not ended yet
BYTE buf[20000];
BASS_ChannelGetData(decoder, buf, sizeof(buf)); // process it
}
BASS_StreamFree(decoder); // free the decoder and encoder
Second question: how to increase volume in FILE (not while listening)
Assuming you're referring to the volume in the encoded output file, you could use BASS_FX's volume option to do that.