search for: vorbis_synthesis_init

Displaying 11 results from an estimated 11 matches for "vorbis_synthesis_init".

2005 Dec 19
1
vorbis_synthesis_init
Hello All, I'm trying to decode Vorbis data without using Ogg. My program successfully writes out Vorbis data, but I'm having trouble reading it back in again. I've based my code off how libfishsound worked, but am having AV's on the call to vorbis_synthesis_init. I call vorbis_synthesis_init when 2 headers have been read. I allocate the vorbis_info and the DSP structure before hand, so I can't explain why I get these AV's. They indicate that something somewhere is a NULL pointer because it is "read of address 00000000". Please tell me i...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...rrently decoding inside the vorbis headers (first three packets) v_rv0 = vorbis_synthesis_headerin(vi, vc, op); dprintf("Header decode: %d %p %p %p\n", v_rv0, vi, vc, op); if (ogg_packet_get_packetno(op) == LAST_VORBIS_HEADER_PACKET) { /* // WARNING! DO NOT CALL vorbis_synthesis_init BEFORE YOU HAVE // PROCESSED **ALL** THE HEADERS. FAILURE TO DO SO WILL CAUSE // MALLOC/FREE PROBLEMS LATER. // FIXME: vorbis_synthesis_init needs a renaming/refactoring. It // really isn't an independent init like others. It has a // dependency upon having a fully filled out vorb...
2001 Sep 09
1
Backtrace off Lithium's strem
Here it is, all nice and decoded: --- (gdb) bt #0 0x4003be91 in _vds_shared_init () at eval.c:41 #1 0x4003ce36 in vorbis_synthesis_init () at eval.c:41 #2 0x4002ff23 in _make_decode_ready () at eval.c:41 #3 0x4003039c in _process_packet () at eval.c:41 #4 0x4003238e in ov_read () at eval.c:41 #5 0x0804a0d1 in alarm () #6 0x0804993b in alarm () #7 0x400b6177 in __libc_start_main (main=0x8049560 <alarm+396>, argc=3, u...
2010 Jun 07
0
No subject
When I load the codec as an Audio Codec the call to AudioCodecInitialize appears to work but if I then get the IsInitialized property that says it is not initialized - so looks like that is my problem, and ties up with the crash in vorbis_synthesis_start(). Looks like vorbis_synthesis_init() has not been called, perhaps. There's sample code out there that suggests people have got this working, so is it just that I'm missing a call to initialize it somewhere? I can post code and crash dumps, but I suspect my problem is more basic than that. Meanwhile I'm going to build...
2005 Sep 27
2
Stream "Saving" and Excerpting...
...he code that does this (it's some python mess), but I'm rewriting the assembler part and starting from the source code for "vcut". The problem with that is that "vcut" seems to use several API calls not documented in the API documentation... vorbis_synthesis_headerin() vorbis_synthesis_init() vorbis_block_init() I'm also wondering if I'm going about this all wrong, since there doesn't seem to be any easy way to do what I'm doing. All the API calls seem to be centered on encoding and decoding, rather than simply cutting and splicing encoded packets. -- ////...
2001 Sep 12
6
Yet another backtrace
...eceived signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 27207)] _vds_shared_init (v=0xbffff73c, vi=0x4024efe0, encp=0) at block.c:176 176 b->modebits=ilog2(ci->modes); (gdb) bt #0 _vds_shared_init (v=0xbffff73c, vi=0x4024efe0, encp=0) at block.c:176 #1 0x40040eb6 in vorbis_synthesis_init (v=0xbffff73c, vi=0x4024efe0) at block.c:621 #2 0x40033fa3 in _make_decode_ready (vf=0xbffff560) at vorbisfile.c:343 #3 0x4003441c in _process_packet (vf=0xbffff560, readp=1) at vorbisfile.c:547 #4 0x4003640e in ov_read (vf=0xbffff560, buffer=0x804d060 "GÐøÏMÐýÏRÐ", length=4096, bigend...
2009 May 12
2
compile error of libtheora example
...9; player_example.c:(.text+0x13d8): undefined reference to `theora_control' player_example.c:(.text+0x13f0): undefined reference to `theora_info_clear' player_example.c:(.text+0x13fc): undefined reference to `theora_comment_clear' player_example.c:(.text+0x1419): undefined reference to `vorbis_synthesis_init' player_example.c:(.text+0x142d): undefined reference to `vorbis_block_init' player_example.c:(.text+0x146e): undefined reference to `vorbis_info_clear' player_example.c:(.text+0x147a): undefined reference to `vorbis_comment_clear' player_example.c:(.text+0x14cf): undefined referenc...
2004 Dec 19
1
Crash when reading OGG/Vorbis file
...9;m using OGG 1.0 / Vorbis 1.0. The crash occurs in _vds_shared_init because the passed in vorbis_info *vi points to a structure containing all 0s (and thus crashes on the line b->modebits = ilog2(ci->modes); as ci is NULL. Following the stack, I see that _vds_shared_init is called by vorbis_synthesis_init which is called by _make_decode_ready by the line vorbis_syntesis_init(&vf->vd, vf->vi + vf->current_link); At this point in the vf structure, links = 7. Looking at the vb->vi array I see that elements 0 and 5 are initialized structures, but 1, 2, 3, 4, and 6 are all 0. My com...
2001 Sep 11
2
Another backtrace
I got this one this morning, but didn't notice it til now: --- (gdb) bt #0 0x4003be91 in vorbis_block_clear (vb=0xbffff71c) at block.c:156 #1 0x4003ce36 in vorbis_analysis_blockout (v=0xbffff71c, vb=0x8050b80) at block.c:591 #2 0x4002ff23 in _prefetch_all_headers (vf=0xbffff540, dataoffset=-1073749296) at vorbisfile.c:324 #3 0x4003039c in _process_packet (vf=0xbffff540, readp=1)
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
...(&vi,&op); i++; } } /* no harm in not checking before adding more */ buffer=ogg_sync_buffer(&oy,4096); bytes=read(STDIN_FILENO,buffer,4096); ogg_sync_wrote(&oy,bytes); } /* OK, got and parsed all three headers. Initialize the Vorbis packet->PCM decoder. */ vorbis_synthesis_init(&vd,&vi); /* central decode state */ vorbis_block_init(&vd,&vb); /* local state for most of the decode so multiple block decodes can proceed in parallel. We could init multi...
2002 Aug 06
0
Getting a GUI to work with Vorbis code
...ntf(outputFile,"\nBitstream is %d channel, %ldHz\n",vi.channels,vi.rate); fprintf(outputFile,"Encoded by: %s\n\n",vc.vendor); } convsize=4096/vi.channels; /* OK, got and parsed all three headers. Initialize the Vorbis packet->PCM decoder. */ vorbis_synthesis_init(&vd,&vi); /* central decode state */ vorbis_block_init(&vd,&vb); /* local state for most of the decode so multiple block decodes can proceed in parallel. We could init...