python-openal gives initialization error

Bug #301736 reported by Hynek Hanke
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyopenal (Debian)
Fix Released
Unknown
pyopenal (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-openal

In python-openal 0.1.6-4build1 pyopenal.init() doesn't raise any exception, but the subsequent pyopenal.Listener() gives the following traceback on Ubuntu Intrepid 8.10:

Traceback (most recent call last):
  File "demo.py", line 6, in <module>
    l = pyopenal.Listener(22050)
RuntimeError: no device opened

The problem is best demonstrated on the demo.py application shipped in the package but other applications are affected as well. It doesn't look like an audio device blockage problem as aplay works well in the same settings. It is also likely not openal problem as ''mplayer -ao openal'' works as expected.

The same code (client side) used to work on Ubuntu Hardy. I don't know however if the python-openal package itself didn't change since then.

Changed in pyopenal:
status: Unknown → New
Revision history for this message
mwarning (moritzwarning) wrote :

Use "pyopenal.init(None)" instead of "pyopenal.init()".
That fixes the problem for me.

Changed in pyopenal (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.