Ryan C. Gordon schrieb:
> >I'm talking about the vaniliia libvorbisfile. (Also Tremor, which I
> >find faster for decoding, though there's no chance of extracting
> >floats from that one. :) )
>
>
> Vanilla libvorbisfile has ov_read_float()...ov_read() just calls
> ov_read_float() and then does a very inefficient conversion to int on
> the buffer before returning it, so this can be a good speed boost,
> especially on PowerPC chips and MacOS, where the conversion hurts more
> and isn't necessary.
Ah great. I wonder about something else: What about adding vorbis
support to alut (or does it belong into openal itself)? I guess a lot of
game devs would appreciate having vorbis support on all platforms
natively in openal/alut. Thinking further, IIRC game sounds are usually
compressed by concatenating the very short sound samples into one file,
compressing it, and splitting them on decompression. Perhaps a feature
(or even a data format support) could be added to alut/openal for this task?
--
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V
|