codylico/loopsong

A strange hang when running over PulseAudio

codylico opened this issue · 5 comments

Using Allegro 5.2.3.0 on Ubuntu 18.04 with what seems like a PulseAudio backend, I sometimes get a strange hang (as if the "audio device gets stuck"), and only the last few samples start playing.

This happens on both Debug and Release.

I seem to have tracked down the issue to broken error handling in Allegro's ogg audio codec. Updates to come.

Using "not" the PulseAudio backend (i.e. ALSA/OSS) results in similar behavior. A issue/pull request should be coming soon.

Pull request liballeg/allegro5#1143 created.

Pull request liballeg/allegro5#1143 has been merged to liballeg:master. Most likely the fix will be available starting in release 5.2.7.

The fix was shipped as part of Allegro version 5.2.7.