search for: vorbis_comment_clear

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

2009 May 12
2
compile error of libtheora example
...layer_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 reference to `vorbis_synthesis_pcmout' player_example.c:(.text+0x157d): undefined reference to `rint' player_example.c:(.text+0x1646): undefined reference to `vorbis_synthesis_read' player_example.c:(.text+0x1700): undefined reference to `...
2007 Feb 07
1
how to delete all comments?
okay all i want to do now is just DELETE any and all comments from a file. here's what I do: // open the file and get access to comments vcedit_open(i_vcStateP, i_fileP); i_commentsP = vcedit_comments(i_vcStateP); // now delete all existing comments vorbis_comment_clear(i_commentsP); <-- is this the correct way?? vorbis_comment_init(i_commentsP); <-- do i need to do this since it's already clear?? // now update the changes, is this correct?? vcedit_write(i_vcStateP, i_fileP); vcedit_clear(i_vcStateP); however, this does not delete the comments. her...
2000 Oct 18
3
ov_comment spec
...vorbis_comment_add() /* unsupervised string insertion */ vorbis_comment_add_tag() /* formated TAG=text insertion */ vorbis_comment_query() /* scans for matching tag (up to count duplicates) and returns the last one */ vorbis_comment_query_count() /* returns the number of matching TAG instances */ vorbis_comment_clear() /* obvious */ It seems to be allowing duplicate TAG identifies is less than optimal. I know there are instances where you have more than one artist, for example, and you need to allow for more than one artist value. I'm interested in making as seemless an api usage as possible, so that it...
2012 May 14
0
Memory Leak in vorbis_info_clear()
...p;comment, &pkt.ident, &pkt.comment, &pkt.setup); vorbis_block_init(&dsp, &block); } /* init() */ void destroy(_Bool leak) { vorbis_block_clear(&block); if (leak) vorbis_info_clear(&info); vorbis_dsp_clear(&dsp); if (!leak) vorbis_info_clear(&info); vorbis_comment_clear(&comment); } /* destroy() */ int main(int argc, char *argv[]) { _Bool leak = 0; int opt; while (-1 != (opt = getopt(argc, argv, "l"))) { switch (opt) { case 'l': leak = 1; break; } } init(); destroy(leak); return 0; } /* main() */
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 valid information. Rather than tryi...
2003 Nov 25
1
ogginfo: playlength display in milliseconds
...s\n" + "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kbps\n"), - stream->num,inf->bytes, minutes, seconds, bitrate); + stream->num,inf->bytes, minutes, seconds, milliseconds, bitrate); #endif vorbis_comment_clear(&inf->vc); <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is n...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...fo, 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->vc); + vorbis_info_clear (&info-&g...
2007 Aug 10
5
[Patch] Const correct tags functions
...vorbis_comment_query_count(vorbis_comment *vc, char *tag); + const char *tag, const char *contents); +extern char *vorbis_comment_query(vorbis_comment *vc, const char *tag, int count); +extern int vorbis_comment_query_count(vorbis_comment *vc, const char *tag); extern void vorbis_comment_clear(vorbis_comment *vc); extern int vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb); --- lib/info.c (revision 13502) +++ lib/info.c (working copy) @@ -59,7 +59,7 @@ memset(vc,0,sizeof(*vc)); } -void vorbis_comment_add(vorbis_comment *vc,char *comment){ +void vorbis_comment_add(vo...
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
...f 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 } <p>I changed the input from stdin to...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...*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 terminated -- clean up */ ogg_stream_destroy(os); ogg_sync_destroy(oy);...