Re: [AD] Deadlock in KCM audio

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On October 24, 2010, Trent Gamblin wrote:
> If OpenAL is the problem that might be possible. Whatever it is, it doesn't
> happen very often. I haven't had it happen since, but I remove two lines
> of code from my playMusic function: the detach_from_stream and the
> set_playing(false) (all occurances of those). So it's either going to
> happen again, just hasn't yet, or removing those lines fixed it. My
> experience tells me it's more likely the former... so I've got the
> debugger running in case.

When I looked at that code, those two lines stood out at me, I wondered what 
would happen if you reversed them? Stop the sample first, then detach?

> --
> Trent Gamblin
> Founder, Nooskewl
> Web: http://www.nooskewl.com
> 
> On 2010-10-24, at 7:42 AM, Elias Pschernig wrote:
> > On Sun, 2010-10-24 at 06:04 -0600, Trent Gamblin wrote:
> >> And while on the topic, is it possible that it's an issue with the
> >> OpenAL driver? That's the big variable between the other platforms I've
> >> tested (also/oss/aqueue).
> > 
> > Shouldn't it be possible to get OpenAL run under Linux? I never tried
> > and it might be a lot of work... but otherwise could be a possibility to
> > reproduce it also under Linux.
> 
> ---------------------------------------------------------------------------
> --- Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest Create new apps & games for the Nokia N8 for consumers in  U.S.
> and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M
> in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish
> to Ovi Store http://p.sf.net/sfu/nokia-dev2dev


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/