arsd.vorbis

Port of stb_vorbis to D. Provides .ogg audio file reading capabilities. See arsd.simpleaudio for code that can use this to actually load and play the file.

Members

Aliases

DECODE_VQ
alias DECODE_VQ = DECODE

Undocumented in source.

DECODE_VQ
alias DECODE_VQ = DECODE_RAW

Undocumented in source.

YTYPE
alias YTYPE = int

Undocumented in source.

YTYPE
alias YTYPE = short

Undocumented in source.

Classes

VorbisDecoder
class VorbisDecoder

Undocumented in source.

Enums

ADDEND
eponymoustemplate ADDEND(string SHIFT)

Undocumented in source.

FAST_SCALED_FLOAT_TO_INT
eponymoustemplate FAST_SCALED_FLOAT_TO_INT(string x, string s)

Undocumented in source.

LINE_OP
eponymoustemplate LINE_OP(string a, string b)

Undocumented in source.

LINE_OP
eponymoustemplate LINE_OP(string a, string b)

Undocumented in source.

MAGIC
eponymoustemplate MAGIC(string SHIFT)

Undocumented in source.

STBVorbisError
enum STBVorbisError

//////// FUNCTIONS USEABLE WITH ALL INPUT MODES///// ERROR CODES

declfcvar
eponymoustemplate declfcvar(string name)

Undocumented in source.

declfcvar
eponymoustemplate declfcvar(string name)

Undocumented in source.

Functions

lrintf
int lrintf(float f)

Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

DIVTAB_DENOM
enum DIVTAB_DENOM;

Undocumented in source.

DIVTAB_NUMER
enum DIVTAB_NUMER;

Undocumented in source.

STB_VORBIS_FAST_HUFFMAN_LENGTH
enum STB_VORBIS_FAST_HUFFMAN_LENGTH;

Undocumented in source.

STB_VORBIS_MAX_CHANNELS
enum STB_VORBIS_MAX_CHANNELS;

///////////////////////////////////////////////////////////////////////////

STB_VORBIS_PUSHDATA_CRC_COUNT
enum STB_VORBIS_PUSHDATA_CRC_COUNT;

Undocumented in source.

Structs

stb_vorbis_alloc
struct stb_vorbis_alloc

/////////////////////////////////////////////////////////////////////////////////// THREAD SAFETY//////// MEMORY ALLOCATION

Templates

FAST_SCALED_FLOAT_TO_INT
template FAST_SCALED_FLOAT_TO_INT(string x, string s)

Undocumented in source.

Unions

float_conv
union float_conv

Undocumented in source.

Variables

integer_divide_table
byte[DIVTAB_DENOM][DIVTAB_NUMER] integer_divide_table;

Undocumented in source.

Meta