Audio Problems

BlitzMax Forums/BlitzMax Programming/Audio Problems

Armitage 1982(Posted 2012) [#1]
Is it normal that FreeAudio is buggy under Linux ?

When I run my project, I get sound and everything like in any other os but when I change level, my game load another song and simply mute itself !?
Then no sound can ever be heard after that. Sometimes I can load one or two level/music before this bug happen.

Nothing I can do except switching to pulse driver ? I think I got the same problem with OpenAL... I'd like to avoid asking my users to install any kind of sound drivers if possible.

Last edited 2012


skidracer(Posted 2012) [#2]
Is it possible you are calling SetAudioDriver between levels?

Typically once you can play audio without any pops or lag in FreeAudio there are no known issues that affect any particular platform.

The reason for the pulse driver is it is now the default audio interface in Ubuntu and hence more likely to work out of the box than previous Linux drivers provided with FreeAudio in the past.


Armitage 1982(Posted 2012) [#3]
I only use SetAudioDriver once while initialize game configuration, so no SetAudioDriver mess in between levels :(