Hey Erik, since you're not sleeping yet, I think you wanted to commit
alGetError, not alGetErrorString.

the error on exit would seem to be related to buffer release (Invalid
Operation)
Also, I see you replaced delete[], by delete in the sound sample destructor.
Shouldn't we just be setting to NULL, and not delete, leaving it to the
original creator of the data, since the original allocation is done
somewhere else ?
e.g _data never allocates, just points to data allocated somewhere else.
The allocator should be the one deallocating, to make sure we don't have
dangling pointers.

ATIS won't shut up now, so sound is kinda working, was able to hear engine
start and ATIS at the same time, but not two aircraft sounds at the same
time. In debug  a couple days back, I had sound working normally, so that
points to what Geoff was saying about having some garbage in release,
whether in DEBUG it's all a controlled environment.

Cheers, get some sleep,
Nic

On Sun, Oct 18, 2009 at 2:53 PM, Erik Hofman <e...@ehofman.com> wrote:

> Nicolas Quijano wrote:
> > #if defined(ALUT_API_MAJOR_VERSION) && ALUT_API_MAJOR_VERSION >= 1
> >         msg.append(alutGetErrorString(error));
> > #endif
>
> Shoot, that should also have been alGetError instead.
> It's fixed, thanks.
>
> Erik
>
> (now i need some sleep)
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>



-- 
Be Kind.
Remember, everyone is fighting a hard battle.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to