#include "asset.h"#include "byteorder.h"#include "clip.h"#include "file.h"#include "filevorbis.h"#include "guicast.h"#include "language.h"#include "mwindow.inc"#include <errno.h>#include <stdio.h>#include <string.h>#include <unistd.h>Go to the source code of this file.
Defines | |
| #define | FLUSH_VORBIS |
|
|
Value: while(vorbis_analysis_blockout(&vd, &vb) == 1) \ { \ vorbis_analysis(&vb, NULL); \ vorbis_bitrate_addblock(&vb); \ while(vorbis_bitrate_flushpacket(&vd, &op)) \ { \ ogg_stream_packetin(&os, &op); \ int done = 0; \ while(1) \ { \ int result = ogg_stream_pageout(&os, &og); \ if(!result) break; \ fwrite(og.header, 1, og.header_len, fd); \ fwrite(og.body, 1, og.body_len, fd); \ if(ogg_page_eos(&og)) break; \ } \ } \ } Definition at line 200 of file filevorbis.C. Referenced by FileVorbis::close_file(), and FileVorbis::write_samples(). |
1.4.4