|
[Allegro 4.4] Choppy audio from play_ogg addon |
Boon928
Member #16,066
August 2015
|
Hello everyone, I'm trying to use Allegro 4.4-HEAD on my Linux amd64 platform. I cloned the git repo, and checked out the 4.4 branch. I ran cmake, then make play_ogg When I run play_ogg on a ogg vorbis file, the audio is choppy and plays too fast. I'm running Xubuntu 14.04 in a Virtualbox VM. If I use gmusicbrowser to play the same ogg vorbis file, it works as expected. Does someone know what I'm doing wrong? [EDIT-1] I wanted to check whether the problem came from the ALSA layer, or from the ogg vorbis decoding layer. I compiled the "exsample" example, downloaded a random WAV file, and it plays correctly... Hmmm, looks like I have a problem with the logg add-on? I suppose the 4.4-HEAD logg add-on works for others? Maybe I have a library incompatibility? [EDIT-2] Could someone try these commands in Linux: $ git clone https://github.com/liballeg/allegro5.git allegro Does the sound play normally for you? I just get garbled sound. [EDIT-3] Apparently, running as root solves the problem. Am I supposed to run play_ogg as root? Regards |
|