Castle Game Engine: CastleVorbisDecoder

# Unit CastleVorbisDecoder
Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables
## Description OggVorbis decoder. ## Uses SysUtils Classes CastleOpenAL ## Overview ### Classes, Interfaces, Objects and Records
Name | Description
--- | ---
Class `EVorbisLoadError` |
Class `EVorbisFileError` |
### Functions and Procedures
`function VorbisDecode(Stream: TStream; out DataFormat: TALuint; out Frequency: LongWord): TMemoryStream;`
## Description ### Functions and Procedures
`function VorbisDecode(Stream: TStream; out DataFormat: TALuint; out Frequency: LongWord): TMemoryStream;`
OggVorbis decoder using vorbisfile library and working on ObjectPascal TStream objects. This checks VorbisFileInited at the beginning, so you don't have to worry about it. Note: this only uses some constants from OpenAL unit. It doesn't actually require OpenAL library to be available and initialized. ###### Exceptions raised `EReadError` If Stream cannot be read (e.g. ended prematurely.) EVorbisLoadError If decoding OggVorbis stream failed.
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:14