********************************************************************
function: simple example decoder
- last mod: $Id: decoder_example.c,v 1.22 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: decoder_example.c,v 1.23 2001/12/18 01:07:53 segher Exp $
********************************************************************/
ogg_int16_t convbuffer[4096]; /* take 8k out of the data segment, not the stack */
int convsize=4096;
-int main(int argc, char **argv){
+int main(){
ogg_sync_state oy; /* sync and verify incoming physical bitstream */
ogg_stream_state os; /* take physical pages, weld into a logical
stream of packets */
********************************************************************
function: illustrate seeking, and test it too
- last mod: $Id: seeking_example.c,v 1.10 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: seeking_example.c,v 1.11 2001/12/18 01:07:54 segher Exp $
********************************************************************/
}
}
-int main(int argc, char *argv[]){
+int main(){
OggVorbis_File ov;
int i,ret;
ogg_int64_t pcmlength;
********************************************************************
function: simple example decoder using vorbisfile
- last mod: $Id: vorbisfile_example.c,v 1.7 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: vorbisfile_example.c,v 1.8 2001/12/18 01:07:54 segher Exp $
********************************************************************/
char pcmout[4096]; /* take 4k out of the data segment, not the stack */
-int main(int argc, char **argv){
+int main(){
OggVorbis_File vf;
int eof=0;
int current_section;