[vlc-devel] karaoke filter
Jean-Baptiste Kempf
jb at videolan.org
Sun Apr 10 11:34:08 CEST 2011
On Sat, Apr 09, 2011 at 08:26:35PM +0800, 郭宇宏 wrote :
> * Edit By YuHong
Please use author and mention the port from mplayer.
> vlc_module_begin ()
> set_description( N_("karaoke audio filter") )
> set_shortname( N_("karaoke af") )
> set_category( CAT_AUDIO )
> add_shortcut( "karaoke" )
> set_capability( "audio filter", 0 )
> set_callbacks( Open, Close )
> vlc_module_end ()
Missing set_subcategory( SUBCAT_AUDIO_AFILTER )
> /* filter calculation */
> for( i = 0; i < i_samples; i++) {
You can declare int i directly in the for
> **********************************************************************/
> static void Close( vlc_object_t *p_this )
> {
> filter_t *p_filter = (filter_t*)p_this;
> free(p_filter);
Are you sure this is yours to free it?
Best Regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list