VLSI Solution Oy / MegaLib Documentation

codecvorbis.h File Reference

#include <vstypes.h>
#include <codec.h>

Include dependency graph for codecvorbis.h:

Go to the source code of this file.

Defines

#define USE_COMMENTS

Functions

CodecCodVorbisCreate (void)
void CodVorbisDelete (struct Codec *cod)
enum CodecError CodVorbisDecode (struct Codec *cod, struct CodecServices *cs, const char **errorString)
auto s_int16 CodVBlockSize (register __i0 struct Codec *c, register __a0 s_int16 bType)


Detailed Description

Vorbis 1.0 Codec. The Vorbis Codec supports windows upto 4096 samples (8192 sample windows are NOT supported). Also random access is not supported.

Definition in file codecvorbis.h.


Define Documentation

#define USE_COMMENTS
 

Definition at line 13 of file codecvorbis.h.


Function Documentation

auto s_int16 CodVBlockSize register __i0 struct Codec c,
register __a0 s_int16  bType
 

struct Codec* CodVorbisCreate void   ) 
 

Create and allocate space for codec.

Returns:
A Vorbis Codec structure.

enum CodecError CodVorbisDecode struct Codec cod,
struct CodecServices cs,
const char **  errorString
 

Decode file. Upon success or a negative number, Codec has succeeded. With a positive number, there has been an error. Upon return, an error string is also returned.

Parameters:
cod A Vorbis Codec structure.
cs User-supplied codec services with appropriate fields filled. The fields that are not to be filled by the user should be zero initialized.
errorString A pointer to a char pointer. The codec may return its error status here.
Returns:
Error code.

void CodVorbisDelete struct Codec cod  ) 
 

Free all resources allocated for codec.

Parameters:
cod A Vorbis Codec structure.


All software copyright 2005-2006 VLSI Solution OY. Redistribution of this software is strictly forbidden.