Chris@1: Chris@1: Chris@1:
Chris@1:libvorbis documentation |
Chris@1: libvorbis version 1.3.2 - 20101101 |
Chris@1:
declared in "vorbis/codec.h";
Chris@1: Chris@1:Once the uncompressed audio data has been divided into blocks, this Chris@1: function is called on each block. It looks up the encoding mode and Chris@1: dispatches the block to the forward transform provided by that mode. Chris@1:
Chris@1:When using a basic encoding mode, with no bitrate management, Chris@1: an ogg_packet pointer can be given, and the coded block is returned Chris@1: directly through that structure and can be placed in the output stream. Chris@1:
Chris@1:Otherwise, NULL should be passed for the ogg_packet pointer. In Chris@1: that case, after the transform has been applied, the block must passed Chris@1: to vorbis_bitrate_addblock() for further coding. This method works with Chris@1: both basic and managed encoding modes, so it's recommended for new code. Chris@1:
Chris@1: Chris@1:
Chris@1: Chris@1: extern int vorbis_analysis(vorbis_block *vb,ogg_packet *op); Chris@1:Chris@1: |
Chris@1:
Chris@1:
Chris@1:
Chris@1:
copyright © 2010 Xiph.Org |
Chris@1: Chris@1: |
libvorbis documentation |
Chris@1: libvorbis version 1.3.2 - 20101101 |
Chris@1: