[vlc-devel] commit: Cast for aout_EnableFilter ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Jul 9 20:54:30 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 9 21:51:15 2009 +0300| [31063568bd5e329cc3d5f9cc8d33df67c2637619] | committer: Rémi Denis-Courmont
Cast for aout_EnableFilter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=31063568bd5e329cc3d5f9cc8d33df67c2637619
---
include/vlc_aout.h | 2 ++
src/audio_output/intf.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index f1ecbd5..81cc684 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -457,6 +457,8 @@ VLC_EXPORT( int, aout_FindAndRestart, ( vlc_object_t *, const char *, vlc_value_
VLC_EXPORT( int, aout_ChannelsRestart, ( vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void * ) );
VLC_EXPORT( void, aout_EnableFilter, (vlc_object_t *, const char *, bool ));
+#define aout_EnableFilter( o, n, b ) \
+ aout_EnableFilter( VLC_OBJECT(o), n, b )
#define aout_VisualNext(a) aout_VisualChange( VLC_OBJECT(a),1 )
#define aout_VisualPrev(a) aout_VisualChange( VLC_OBJECT(a),-1 )
diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index 409ca68..5cee776 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -478,6 +478,7 @@ int aout_ChannelsRestart( vlc_object_t * p_this, const char * psz_variable,
return 0;
}
+#undef aout_EnableFilter
/** Enable or disable an audio filter
* \param p_this a vlc object
* \param psz_name name of the filter
More information about the vlc-devel
mailing list