Module: RubyAudio

Defined in:
lib/ruby-audio/sound.rb,
lib/ruby-audio/buffer.rb,
lib/ruby-audio/sound_info.rb,
ext/rubyaudio_ext/ra_sound.c,
ext/rubyaudio_ext/ra_buffer.c,
ext/rubyaudio_ext/ra_soundinfo.c,
ext/rubyaudio_ext/rubyaudio_ext.c

Defined Under Namespace

Classes: Buffer, CBuffer, CSound, CSoundInfo, Error, Sound, SoundInfo

Constant Summary collapse

FORMAT_WAV =

0x010000

/* 0x010000 */ INT2FIX(SF_FORMAT_WAV)
FORMAT_AIFF =

0x020000

/* 0x020000 */ INT2FIX(SF_FORMAT_AIFF)
FORMAT_AU =

0x030000

/* 0x030000 */ INT2FIX(SF_FORMAT_AU)
FORMAT_RAW =

0x040000

/* 0x040000 */ INT2FIX(SF_FORMAT_RAW)
FORMAT_PAF =

0x050000

/* 0x050000 */ INT2FIX(SF_FORMAT_PAF)
FORMAT_SVX =

0x060000

/* 0x060000 */ INT2FIX(SF_FORMAT_SVX)
FORMAT_NIST =

0x070000

/* 0x070000 */ INT2FIX(SF_FORMAT_NIST)
FORMAT_VOC =

0x080000

/* 0x080000 */ INT2FIX(SF_FORMAT_VOC)
FORMAT_IRCAM =

0x0A0000

/* 0x0A0000 */ INT2FIX(SF_FORMAT_IRCAM)
FORMAT_W64 =

0x0B0000

/* 0x0B0000 */ INT2FIX(SF_FORMAT_W64)
FORMAT_MAT4 =

0x0C0000

/* 0x0C0000 */ INT2FIX(SF_FORMAT_MAT4)
FORMAT_MAT5 =

0x0D0000

/* 0x0D0000 */ INT2FIX(SF_FORMAT_MAT5)
FORMAT_PVF =

0x0E0000

/* 0x0E0000 */ INT2FIX(SF_FORMAT_PVF)
FORMAT_XI =

0x0F0000

/* 0x0F0000 */ INT2FIX(SF_FORMAT_XI)
FORMAT_HTK =

0x100000

/* 0x100000 */ INT2FIX(SF_FORMAT_HTK)
FORMAT_SDS =

0x110000

/* 0x110000 */ INT2FIX(SF_FORMAT_SDS)
FORMAT_AVR =

0x120000

/* 0x120000 */ INT2FIX(SF_FORMAT_AVR)
FORMAT_WAVEX =

0x130000

/* 0x130000 */ INT2FIX(SF_FORMAT_WAVEX)
FORMAT_SD2 =

0x160000

/* 0x160000 */ INT2FIX(SF_FORMAT_SD2)
FORMAT_FLAC =

0x170000

/* 0x170000 */ INT2FIX(SF_FORMAT_FLAC)
FORMAT_CAF =

0x180000

/* 0x180000 */ INT2FIX(SF_FORMAT_CAF)
FORMAT_OGG =

0x200000

/* 0x200000 */ INT2FIX(SF_FORMAT_OGG)
FORMAT_PCM_S8 =

0x0001

/* 0x0001 */ INT2FIX(SF_FORMAT_PCM_S8)
FORMAT_PCM_16 =

0x0002

/* 0x0002 */ INT2FIX(SF_FORMAT_PCM_16)
FORMAT_PCM_24 =

0x0003

/* 0x0003 */ INT2FIX(SF_FORMAT_PCM_24)
FORMAT_PCM_32 =

0x0004

/* 0x0004 */ INT2FIX(SF_FORMAT_PCM_32)
FORMAT_PCM_U8 =

0x0005

/* 0x0005 */ INT2FIX(SF_FORMAT_PCM_U8)
FORMAT_FLOAT =

0x0006

/* 0x0006 */ INT2FIX(SF_FORMAT_FLOAT)
FORMAT_DOUBLE =

0x0007

/* 0x0007 */ INT2FIX(SF_FORMAT_DOUBLE)
FORMAT_ULAW =

0x0010

/* 0x0010 */ INT2FIX(SF_FORMAT_ULAW)
FORMAT_ALAW =

0x0011

/* 0x0011 */ INT2FIX(SF_FORMAT_ALAW)
FORMAT_IMA_ADPCM =

0x0012

/* 0x0012 */ INT2FIX(SF_FORMAT_IMA_ADPCM)
FORMAT_MS_ADPCM =

0x0013

/* 0x0013 */ INT2FIX(SF_FORMAT_MS_ADPCM)
FORMAT_GSM610 =

0x0020

/* 0x0020 */ INT2FIX(SF_FORMAT_GSM610)
FORMAT_VOX_ADPCM =

0x0021

/* 0x0021 */ INT2FIX(SF_FORMAT_VOX_ADPCM)
FORMAT_G721_32 =

0x0030

/* 0x0030 */ INT2FIX(SF_FORMAT_G721_32)
FORMAT_G723_24 =

0x0031

/* 0x0031 */ INT2FIX(SF_FORMAT_G723_24)
FORMAT_G723_40 =

0x0032

/* 0x0032 */ INT2FIX(SF_FORMAT_G723_40)
FORMAT_DWVW_12 =

0x0040

/* 0x0040 */ INT2FIX(SF_FORMAT_DWVW_12)
FORMAT_DWVW_16 =

0x0041

/* 0x0041 */ INT2FIX(SF_FORMAT_DWVW_16)
FORMAT_DWVW_24 =

0x0042

/* 0x0042 */ INT2FIX(SF_FORMAT_DWVW_24)
FORMAT_DWVW_N =

0x0043

/* 0x0043 */ INT2FIX(SF_FORMAT_DWVW_N)
FORMAT_DPCM_8 =

0x0050

/* 0x0050 */ INT2FIX(SF_FORMAT_DPCM_8)
FORMAT_DPCM_16 =

0x0051

/* 0x0051 */ INT2FIX(SF_FORMAT_DPCM_16)
FORMAT_VORBIS =

0x0060

/* 0x0060 */ INT2FIX(SF_FORMAT_VORBIS)
ENDIAN_FILE =

0x00000000

/* 0x00000000 */ INT2FIX(SF_ENDIAN_FILE)
ENDIAN_LITTLE =

0x10000000

/* 0x10000000 */ INT2FIX(SF_ENDIAN_LITTLE)
ENDIAN_BIG =

0x20000000

/* 0x20000000 */ INT2FIX(SF_ENDIAN_BIG)
ENDIAN_CPU =

0x30000000

/* 0x30000000 */ INT2FIX(SF_ENDIAN_CPU)
FORMAT_SUBMASK =

0x0000FFFF

/* 0x0000FFFF */ INT2FIX(SF_FORMAT_SUBMASK)
FORMAT_TYPEMASK =

0x0FFF0000

/* 0x0FFF0000 */ INT2FIX(SF_FORMAT_TYPEMASK)
FORMAT_ENDMASK =

0x30000000

/* 0x30000000 */ INT2FIX(SF_FORMAT_ENDMASK)