readme

来自「fix point版本的Ogg Vorbis decoder」· 代码 · 共 43 行

TXT
43
字号
Fixed Point (integer) based Ogg Vorbis audio decoder----------------------------------------------------The integerisation work is (C) 2002 by Nicolas Pitre <nico@cam.org>See lib/COPYING for license terms.Please make sure you correctly set the best optimisation flags for your CPUin the Makefile before compiling.This is a decoder only.  The resulting binary is "decoder" which should bepresented an Ogg bitstream on its stdin and raw 16bit samples will be outputon stdout.  For convenience I included the code for a little program called"vplay" that is able to play raw audio streams on Linux.To play a 44100Hz stereo Ogg Vorbis file, simply do:	decoder < bitstream.ogg | vplay -b 16 -s 44100 -SA more complete player such as ogg123 should link against this code withlittle effort.***** WARNING ***** WARNING ***** WARNING ***** WARNING *****This fixed point Vorbis decoding library does NOT pretend to be"Ogg Vorbis Compliant".  It does work with current available encoders,but that's all.  Unless the full Vorbis specifications are available,future encoders may break this decoder while still being in compliancewith the specs.  Be warned.***** WARNING ***** WARNING ***** WARNING ***** WARNING *****For a fully compliant fixed point decoder guaranteed not to break in thefuture, please look for the Tremor decoder licensed by Xiph.Org.To generate the original fully-compliant floating point decoder, simplycomment  out the definition of FIXED_POINT in fixp.h.  This is handy tocompare results if some streams appear not to play correctly.  I'll beinterested in any Vorbis stream that doesn't produce the same resultwith both modes so to fix this decoder.Nicolas Pitrenico@cam.orgJun 24, 2002

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?