[vlc-devel] [PATCH 1/2] Add new API to libvlc for persistent equalizer settings.

Rémi Denis-Courmont remi at remlab.net
Sun Aug 12 14:29:25 CEST 2012


Le dimanche 12 août 2012 13:49:37 Alexey Sokolov, vous avez écrit :
> Hello.
> 
> 12.08.2012 15:30, Mark Lee пишет:
> > +/**
> > + * Create a new default equalizer, with all frequency values zeroed.
> > + *
> > + * The new equalizer can subsequently be associated with a media player
> > by using + * libvlc_media_player_set_equalizer().
> > + *
> > + * When the application is finished with a particular equalizer instance
> > it should + * disassociate it from the media player by invoking
> > libvlc_media_player_set_equalizer(NULL) + * and then free it by using
> > libvlc_audio_equalizer_release().
> > + *
> 
> Why not to use reference count, as other libvlc objects do?

Why use a reference count? This is just plain (small) data.

Way overkill.

-- 
Rémi Denis-Courmont
C/C++ software engineer looking for a job
http://www.linkedin.com/in/remidenis



More information about the vlc-devel mailing list