[Openal-devel] wrapper: AL_BUFFERS_PROCESSED always 0 when AL_LOOPING=AL_TRUE
Jarosław Pleskot
jarekpleskot at poczta.onet.pl
Thu Oct 27 15:24:28 PDT 2005
I see. I think this information should be included in OpenAL specification.
Jarek
----- Original Message -----
From: <dpeacock at creativelabs.com>
To: <openal-devel at opensource.creative.com>
Sent: Thursday, October 27, 2005 11:18 PM
Subject: Re: [Openal-devel] wrapper: AL_BUFFERS_PROCESSED always 0 when
AL_LOOPING=AL_TRUE
>
>
>
>
> Hi,
>
> After talking to Garin, we want to clarify something...
>
> When you enable looping on a Source that has Buffers queued on it, the
> Source will loop around the entire queue. So, as soon as looping is
> enabled, all buffers in the queue will be marked as 'pending' (even the
> ones that may have been marked as 'processed'). This is because all the
> buffers will be played again by the source. While looping is 'on', no
> buffers will ever be marked as 'processed'. When you remove looping
> from
> a Source playing a queue of buffers, then depending upon the current play
> position in the queue, you may find that some of the buffers are instantly
> marked as 'processed', because they will not be played again.
>
> It looks like there are a couple of bugs in the native device in this
> area,
> which we will have to look into.
>
> Dan
>
>
> Notice
> The information in this message is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this
> message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying or distribution of the message, or
> any action taken by you in reliance on it, is prohibited and may be
> unlawful. If you have received this message in error, please delete it
> and contact the sender immediately. Thank you.
>
>
>
>
> Garin Hiebert
> <garinh at cheesetoa
> st.net> To
> Sent by: Jarosław Pleskot
> openal-devel-admi <jarekpleskot at poczta.onet.pl>
> n at opensource.crea cc
> tive.com <openal-devel at opensource.creative.c
> om>
> Subject
> 10/27/2005 12:44 Re: [Openal-devel] wrapper:
> PM AL_BUFFERS_PROCESSED always 0 when
> AL_LOOPING=AL_TRUE
>
>
>
>
>
>
>
>
>
>
>> When I'm using wrapper (both devices: Generic Hardware & Generic
>> Software)
>> openal always return 0 when I'm trying to get
>> AL_BUFFERS_PROCESSED value with looping turned on for the same source.
>>
>> When I'm using native device (SB Audigy Audio) I'm getting correct
>> value.
>
> This would indeed seem to be a bug with the wrapper code. Any
> buffers which had already been processed at the time AL_LOOPING is
> set true should remain processed and the AL_BUFFERS_PROCESSED value
> should reflect that. Naturally, with AL_LOOPING set true, no _new_
> buffers are going to be processed...
>
>> Another problem: SB Audigy Audio goes to AL_STOPPED state on
>> alSourcePause operation (at least in streaming mode)
>
> I'll tag that for investigation as well -- it certainly seems like a
> bug.
>
> Garin
>
> _______________________________________________
> openal-devel mailing list
> openal-devel at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal-devel
>
> ForwardSourceID:NT00029302
>
> _______________________________________________
> openal-devel mailing list
> openal-devel at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal-devel
>
More information about the Openal-devel
mailing list