[Vorbis-dev] How to loop a Vobis sound ?
steve
steve at astrocorp.com.tw
Wed Jan 18 17:49:55 PST 2006
Thank you, Ralph.
The return code of ov_read () is 512 bytes.
It's the same return value as it's called at the first time.
Do I need to call only those seek functions to repeate the sound?
Steve
-----Original Message-----
From: astrocorp at host.ms109.net [mailto:astrocorp at host.ms109.net]On Behalf Of Ralph Giles
Sent: Thursday, January 19, 2006 5:21 AM
To: steve
Cc: vorbis-dev at xiph.org
Subject: Re: [Vorbis-dev] How to loop a Vobis sound ?
On Wed, Jan 18, 2006 at 01:52:22PM +0800, steve wrote:
> It seems like the OpenAL doesn't recognize the PCM data.
>
> The OpenAL error number :
> AL_INVALID_VALUE 0xA003
Do you know which value is invalid?
My first thought was you must not be checking the return code from
ov_read(), but it looks like you are. (almost correctly. OV_HOLE is a
continuable error).
-r
More information about the Vorbis-dev
mailing list