[Bug 445945] [NEW] Allegro can't play sound with ALSA

Damian Yerrick tepples at spamcop.net
Thu Oct 8 02:01:13 UTC 2009


Public bug reported:

Ubuntu 9.04, liballegro-4.2 version 2:4.2.2-2ubuntu1

I install and run allegro-examples and choose digitest. But instead of
sound, I got this:

Error initialising sound
ALSA: snd_pcm_hw_params_set_format(pcm_handle, hwparams, format) : Invalid argument

This page suggests that pulseaudio doesn't like the unsigned (U16) samples that Allegro's mixer produces.
http://www.mail-archive.com/pulseaudio-tickets@mail.0pointer.de/msg00421.html

Upstream recently released Allegro 4.2.3, which works around this.
http://alleg.sourceforge.net/

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: liballegro4.2 2:4.2.2-2ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: allegro4.2
Uname: Linux 2.6.28-15-generic i686

** Affects: allegro4.2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Allegro can't play sound with ALSA 
https://bugs.launchpad.net/bugs/445945
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list