search for: _oggpack_writeinit

Displaying 4 results from an estimated 4 matches for "_oggpack_writeinit".

1999 Nov 15
1
(no subject)
Hello Monty, I tried to complile vorbis under win32 (using MS Visual C 5.0) I found some things: 1.) In bitvise.c there must be buffer cleared after malloc: void _oggpack_writeinit(oggpack_buffer *b){ memset(b,0,sizeof(oggpack_buffer)); b->ptr=b->buffer=malloc(BUFFER_INCREMENT); + memset(b->ptr,0,BUFFER_INCREMENT); b->storage=BUFFER_INCREMENT; } void _oggpack_write(oggpack_buffer *b,unsigned long value,int bits){ if(b->endbyte+4>=b->storage){...
2003 Jun 12
1
static lib
I'm trying to link sox to the ogg vorbis static libraries but I'm getting the following error: gcc -L. -L./gsm -o sox sox.o -lst -lgsm -logg -lvorbis -lvorbisfile -lvorbisenc -lmad -lmp3lame ld: Undefined symbols: _oggpack_bytes _oggpack_get_buffer _oggpack_reset _oggpack_writeclear _oggpack_writeinit _oggpack_read _oggpack_readinit _oggpack_write _oggpack_adv _oggpack_look _oggpack_writealign _vorbis_packet_blocksize _vorbis_synthesis _vorbis_synthesis_trackonly I don't get this error with the dynamic libs. What gives? Cheers, Steve OSX freeware and shareware: http://www.dekorte.com/downl...
1999 Nov 15
3
vorbis under win32
Hello Monty, I tried to complile vorbis under win32 (using MS Visual C 5.0) I found some things: 1.) In bitvise.c there must be buffer cleared after malloc: void _oggpack_writeinit(oggpack_buffer *b){ memset(b,0,sizeof(oggpack_buffer)); b->ptr=b->buffer=malloc(BUFFER_INCREMENT); + memset(b->ptr,0,BUFFER_INCREMENT); b->storage=BUFFER_INCREMENT; } void _oggpack_write(oggpack_buffer *b,unsigned long value,int bits){ if(b->endbyte+4>=b->storage){...
2006 Aug 18
6
Ogg Player Code
Hello, In one of my recent assignments, I was asked to develop a ogg player. I am not able to find the right repository of the source code. There are few repositories on vorbis but I am not clear which one is the right one for Windows environment. If somebody has successfully compiled any ogg player ever, his ideas will be helpful to me. In one of the code set, I was able to compile the