Author Topic: First try to play song - lags, and bad sound :(  (Read 236 times)


  • Posts: 28
Hi to all, finally I manage to get to the point where I can start to implement songs playing in my project,
but with simple using of bass on default options gives me bad mono sound even with lags some time :(

I am using

Code: [Select]

// creating stream
int stream = Bass.BASS_StreamCreateFile(pathToAudioFile, 0, 0, BASSFlag.BASS_DEFAULT);

// plyaing
Bass.BASS_ChannelPlay(stream, false);

Is there any good example, or tutorial about how do I should setup my player to get best sound quality ?
Please, help me :)

Found where was my problem )
I used BASS_Init with flag BASSInit.BASS_DEVICE_MONO
Code: [Select]


But I should I know something else ?
« Last Edit: 27 Oct '17 - 23:30 by HardRock »

Ian @ un4seen

  • Administrator
  • Posts: 20595
Re: First try to play song - lags, and bad sound :(
« Reply #1 on: 30 Oct '17 - 16:47 »
When the BASS_DEVICE_MONO flag is used in a BASS_Init call, the BASS_SAMPLE_MONO flag will be applied automatically to BASS_StreamCreateFile calls (on the same device), so you will indeed get mono playback of some file formats (note the BASS_SAMPLE_MONO flag does not have effect on all file formats). Please see the function documentation for details on the available flags/options.