********************************************************************
function: simple example decoder
- last mod: $Id: decoder_example.c,v 1.26 2002/07/11 06:40:47 xiphmont Exp $
+ last mod: $Id: decoder_example.c,v 1.27 2002/07/12 15:07:52 giles Exp $
********************************************************************/
#include <fcntl.h>
#endif
-#if defined(macintosh) && defined(__MWERKS__)
+#if defined(__MACOS__) && defined(__MWERKS__)
#include <console.h> /* CodeWarrior's Mac "command-line" support */
#endif
********************************************************************
function: simple example encoder
- last mod: $Id: encoder_example.c,v 1.47 2002/07/11 06:50:31 xiphmont Exp $
+ last mod: $Id: encoder_example.c,v 1.48 2002/07/12 15:07:52 giles Exp $
********************************************************************/
#include <fcntl.h>
#endif
-#if defined(macintosh) && defined(__MWERKS__)
+#if defined(__MACOS__) && defined(__MWERKS__)
#include <console.h> /* CodeWarrior's Mac "command-line" support */
#endif
{
fread(readbuffer,1,2,stdin);
- if ( ! strncmp(readbuffer, "da", 2) )
+ if ( ! strncmp((char*)readbuffer, "da", 2) )
{
founddata = 1;
fread(readbuffer,1,6,stdin);
vorbis_info_init
vorbis_info_clear
+vorbis_info_blocksize
vorbis_comment_init
vorbis_comment_add
vorbis_comment_add_tag
# Vorbis PRIMITIVES: analysis/DSP layer
vorbis_analysis_init
+vorbis_commentheader_out
vorbis_analysis_headerout
vorbis_analysis_buffer
vorbis_analysis_wrote
vorbis_analysis_blockout
vorbis_analysis
+vorbis_bitrate_addblock
+vorbis_bitrate_flushpacket
# Vorbis PRIMITIVES: synthesis layer
vorbis_synthesis_headerin
vorbis_synthesis_init
vorbis_synthesis
+vorbis_synthesis_trackonly
vorbis_synthesis_blockin
vorbis_synthesis_pcmout
vorbis_synthesis_read
-
-### From "psy.h" (for VorbisEncLib)
-
-_vp_psy_init
-_vp_psy_clear
-#_vi_psy_dup
-
-_vi_psy_free
-_vi_psy_copy
-
-_vp_compute_mask
-_vp_apply_floor
-
-### From "xxx.h" (for VorbisEncLib)
-_time_P
-_floor_P
-_residue_P
-_mapping_P
+vorbis_packet_blocksize
### From "vorbis/vorbisenc.h"
vorbis_encode_init
-
+vorbis_encode_setup_managed
+vorbis_encode_setup_vbr
+vorbis_encode_init_vbr
+vorbis_encode_setup_init
vorbis_encode_ctl
ov_open
ov_open_callbacks
+ov_test
+ov_test_callbacks
+ov_test_open
+
ov_bitrate
ov_bitrate_instant
ov_streams
ov_comment
ov_read
+ov_read_float
\ No newline at end of file