Issues with sound playback ubuntu 8.1
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?
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.
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
Popular Topics
Advertisement