Issues with sound playback ubuntu 8.1

Started by
1 comment, last by Simian Man 15 years, 5 months ago
I'm using Mix_PlayChannel to play ogg files. The code worked perfectly in ubuntu 7.1. In 8.1 there is a short delay when issuing a Mix_PlayChannel command. It's about 4/10 of a second. Enough to be annoying. I've tried changing the buffer size but that didn't fix it. Any ideas?
Advertisement
Is this SDL? If so, it should be in the Alternative Game Libraries forum, or maybe in the Everything Unix forum if you're pretty sure this is specific to a certain distro.

Personally I often find that sound playback takes 4/10 of a second on Linux no matter what I do. It could be down to the audio engine in use.
Try changing the sound server under System->Preferences->Sound. You likely have a choice between ALSA, OSS and PulseAudio. Sometimes one will have trouble on certain hardware, so you may find that changing will eliminate your problem. I doubt the issue is related to your code.

This topic is closed to new replies.

Advertisement