search for: vorbis_dsp_clear

Displaying 14 results from an estimated 14 matches for "vorbis_dsp_clear".

2012 May 14
0
Memory Leak in vorbis_info_clear()
I'm having trouble tracking down why it leaks, but below is an example program which shows--using valgrind--that vorbis_info_clear() leaks memory if called before vorbis_dsp_clear(), but not if called after vorbis_dsp_clear(). Just compile and run under valgrind, using the -l switch to the example program to trigger a leak. Tested under OS X 10.7 and Ubuntu 12.04. This may be by design, or just, "don't do that". If it is the Wiki page should probably be edited...
1999 Oct 12
3
xmms module update
Since the decoding went so much faster, I actually listened to the song I encoded all the way to the end, at which point the thing segv'd. Through a little easter egging, I managed to trace the problem down to a call to vorbis_dsp_clear(). I've just commented it out in the current source. As to why it's segving I am uncertain, but, save possible memory leaks, everything seems to be back in order... Thanks go out to Peter and Monty. Tony Arcieri --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project ho...
2008 Sep 12
4
[Patch] New function of libvorbis
...libvorbis-1.2.1RC2/include/vorbis/codec.h libvorbis-1.2.1RC2_NI/include/vorbis/codec.h *** libvorbis-1.2.1RC2/include/vorbis/codec.h Mon Aug 25 05:57:44 2008 --- libvorbis-1.2.1RC2_NI/include/vorbis/codec.h Sat Sep 13 05:00:22 2008 *************** *** 178,183 **** --- 178,185 ---- extern void vorbis_dsp_clear(vorbis_dsp_state *v); extern double vorbis_granule_time(vorbis_dsp_state *v, ogg_int64_t granulepos); + + extern const char *vorbis_version_string(void); /* Vorbis PRIMITIVES: analysis/DSP layer ****************************/ diff -crN libvorbis-1.2.1RC2/lib/info.c lib...
2002 Jul 03
3
segfault in current cvs
...gnal SIGSEGV, Segmentation fault. 0x4207af66 in chunk_free () from /lib/i686/libc.so.6 (gdb) bt #0 0x4207af66 in chunk_free () from /lib/i686/libc.so.6 #1 0x4207ad14 in free () from /lib/i686/libc.so.6 #2 0x400c5f1c in _ve_envelope_clear () from /home/icecast/lib/libvorbis.so.0 #3 0x400c4ad5 in vorbis_dsp_clear () from /home/icecast/lib/libvorbis.so.0 #4 0x0804cc7a in oe_encode () #5 0x08049ea0 in main () #6 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 -- Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature...
2009 May 12
2
compile error of libtheora example
...ageout' player_example.c:(.text+0x1d30): undefined reference to `SDL_Quit' player_example.c:(.text+0x1d45): undefined reference to `ogg_stream_clear' player_example.c:(.text+0x1d51): undefined reference to `vorbis_block_clear' player_example.c:(.text+0x1d5d): undefined reference to `vorbis_dsp_clear' player_example.c:(.text+0x1d69): undefined reference to `vorbis_comment_clear' player_example.c:(.text+0x1d75): undefined reference to `vorbis_info_clear' player_example.c:(.text+0x1d8a): undefined reference to `ogg_stream_clear' player_example.c:(.text+0x1d96): undefined reference...
2000 Jul 17
2
possible bug in _f0_fit_clear
...a stack crawl for the seek. loading symbols segment violation occurred _f0_fit_clear: _f0_fit_clear: +002a ea3039c6: * 103b cmpl (%eax), %edx Fader:sc frame retaddr fd042014 ea303e52 free_look + 0000005a fd04202c ea30627b free_look + 0000009f fd042048 ea2f3196 vorbis_dsp_clear + 0000033e fd042074 ea2eed99 _decode_clear + 0000002d fd042084 ea2efc8f ov_raw_seek + 0000007f fd04209c ea2eff6d ov_pcm_seek + 00000221 fd042100 ea2f022e ov_time_seek + 0000013a fd042144 ea2ede85 MyPlugin::JumpTo(long) + 00000031 fd04215c 800473d7 #File CL-Amp text + 000473d7 fd04...
2013 Aug 18
1
vorbis_info_clear important?
Hi, I'm using a Windows development component which uses vorbis.dll, ogg.dll, vorbisenc.dll for encoding a file. When finishing a recording, the component runs these functions... ogg_stream_clear(OggSS); vorbis_block_clear(VBlock); vorbis_dsp_clear(Vdsp); vorbis_comment_clear(VComm); vorbis_info_clear(VInfo); I'm occasionally receiving a hang in the function vorbis_info_clear(vinfo) which goes to 100% CPU indefinitely. I've tried different compiles of vorbis.dll without success. I've checked the VInfo structure has vali...
2003 Sep 14
0
ov_clear(&vorbis) segfaults? (Backtrace and test case)
...x sfx.ogg --clear Loaded Sound: "sfx.ogg", Channels: 2, Sample Rate: 22050 Trying to clear vorbis struct. (Crash time.) Program received signal SIGSEGV, Segmentation fault. 0x400b0f89 in free () from /lib/libc.so.6 (gdb) bt #0 0x400b0f89 in free () from /lib/libc.so.6 #1 0x401a465f in vorbis_dsp_clear () from /usr/lib/libvorbis.so.0 #2 0x40039b6b in ov_clear () from /usr/lib/libvorbisfile.so.3 #3 0x08048ac9 in main (argc=3, argv=0xbffff884) at audio_test.c:98 #4 0x40053917 in __libc_start_main () from /lib/libc.so.6 (gdb) quit The program is running. Exit anyway? (y or n) y [alex@elbmin3 aud...
2001 Sep 02
0
Encoding process
...eam: -- ogg_stream_pageout() 28 if no page available: 29 break 30 write page to file 31 if nothing written: 32 fatal error 33 check if end of stream -- ogg_page_eos() 34 clear stream -- ogg_stream_clear() 35 clear block -- vorbis_block_clear() 36 clear dsp -- vorbis_dsp_clear 37 clear info -- vorbis_info_clear() --- First of all, is the above correct? If not please let me know. Second, I want to partition the above process into multiple functions i.e., so that the "forever:" part on line 16 is handled outside. I just want to verify that I have my ideas corre...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...iotime * .001); + print_stats(info, info->audiotime); video=0; - info.audioflag = 1; + info->audioflag = 1; flushloop=1; } if(e_o_s) @@ -322,16 +320,16 @@ } } -void theoraframes_close (){ - ogg_stream_clear (&info.vo); - vorbis_block_clear (&info.vb); - vorbis_dsp_clear (&info.vd); - vorbis_comment_clear (&info.vc); - vorbis_info_clear (&info.vi); +void theoraframes_close (theoraframes_info *info){ + ogg_stream_clear (&info->vo); + vorbis_block_clear (&info->vb); + vorbis_dsp_clear (&info->vd); + vorbis_comment_clear (&info-&gt...
2002 Feb 12
2
Vorbis as a benchmark
Seeing the discussion on using vorbis as a benchmark has prompted me to post a few results that I have. Times are as reported by oggenc. I used track 8 on Stereolab's Dots and Loops album. It's 334 seconds long. Tests on windows machines used the windows oggenc binary from www.vorbis.com Tests on unix machines used oggenc compiled on that machine. Compaq PIII - WinNT (1000 MHz) - 91
2015 May 18
5
Writting 16-bit PCM data to Ogg.
Hi Developers, I have a 16-bit PCM data buffer, I want to write that to ogg file. Could you help me to understand how to write pcm data to the ogg? Thanks in advance. Arun balaji -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20150518/6c8c9a63/attachment.htm
2002 Aug 06
0
Getting a GUI to work with Vorbis code
...cal bitstream; before exit we see if we're followed by another [chained] */ ogg_stream_clear(&os); /* ogg_page and ogg_packet structs always point to storage in libvorbis. They're never freed or manipulated directly */ vorbis_block_clear(&vb); vorbis_dsp_clear(&vd); vorbis_comment_clear(&vc); vorbis_info_clear(&vi); /* must be called last */ } /* OK, clean up the framer */ ogg_sync_clear(&oy); fprintf(outputFile,"Done.\n"); // TODO: Add your control notification handler code here } <...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...// these functions will have nasty malloc/free problems. You may *NOT* // just clear these and hope for the best. It doesn't work. // // Originally, I was calling vorbis_synthesis_init too early and then // vorbis_info_clear was throwing malloc/free failures. */ vorbis_block_clear(vb); vorbis_dsp_clear(vd); // Inverse of vorbis_synthesis_init() ??? vorbis_comment_clear(vc); vorbis_info_clear(vi); } } /* This while loop iterates over ogg pages */ } /* This while loop iterates over ogg logical streams */ dprintf("Destroying stream state\n"); /* System has termin...