[vlc-devel] [PATCH 3/3] taglib: alias monkey's audio replaygain

Anatoliy Anischovich lin.aaa.lin at gmail.com
Sat Jul 26 10:30:55 CEST 2014


>How is that different from AUDIO_REPLAY_GAIN_MAX ?
Different purpose. AUDIO_REPLAY_GAIN_* is used to access arrays by index
inside of audio_replay_gain_t struct.


2014-07-26 1:35 GMT+03:00 Jean-Baptiste Kempf <jb at videolan.org>:

> On 23 Jul, Anatoliy Anischovich wrote :
> > >From the Monkey's Audio SDK.
> >
> > ---
> >  include/vlc_meta.h             | 5 ++++-
> >  modules/meta_engine/taglib.cpp | 3 +++
> >  2 files changed, 7 insertions(+), 1 deletion(-)
> >
> > diff --git a/include/vlc_meta.h b/include/vlc_meta.h
> > index c3bf801..302727b 100644
> > --- a/include/vlc_meta.h
> > +++ b/include/vlc_meta.h
> > @@ -161,6 +161,9 @@ VLC_API int input_item_WriteMeta(vlc_object_t *,
> input_item_t *);
> >  #define VLC_META_SHOW_NAME          vlc_meta_TypeToLocalizedString(
> vlc_meta_ShowName )
> >  #define VLC_META_ACTORS             vlc_meta_TypeToLocalizedString(
> vlc_meta_Actors )
> >
> > -#define VLC_META_EXTRA_MB_ALBUMID   "MB_ALBUMID"
> > +#define VLC_META_EXTRA_MB_ALBUMID    "MB_ALBUMID"
> > +#define VLC_META_EXTRA_RG_PEAK       "RG_PEAK"
> > +#define VLC_META_EXTRA_RG_RADIO      "RG_RADIO"
> > +#define VLC_META_EXTRA_RG_AUDIOPHILE "RG_AUDIOPHILE"
>
> How is that different from AUDIO_REPLAY_GAIN_MAX ?
>
> >
> >  #endif
> > diff --git a/modules/meta_engine/taglib.cpp
> b/modules/meta_engine/taglib.cpp
> > index 7039e86..3e2d7ce 100644
> > --- a/modules/meta_engine/taglib.cpp
> > +++ b/modules/meta_engine/taglib.cpp
> > @@ -207,6 +207,9 @@ static void ReadMetaFromAPE( APE::Tag* tag,
> demux_meta_t* p_demux_meta, vlc_meta
> >      SET( "MUSICBRAINZ_TRACKID", TrackID );
> >
> >      SET_EXTRA( "MUSICBRAINZ_ALBUMID", VLC_META_EXTRA_MB_ALBUMID );
> > +    SET_EXTRA( "PEAK LEVEL", VLC_META_EXTRA_RG_PEAK );
> > +    SET_EXTRA( "REPLAY GAIN (RADIO)", VLC_META_EXTRA_RG_RADIO );
> > +    SET_EXTRA( "REPLAY GAIN (ALBUM)", VLC_META_EXTRA_RG_AUDIOPHILE );
> >
> >  #undef SET
> >  #undef SET_EXTRA
> > --
> > 2.0.1
> >
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
>
> --
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140726/a1f9ea5a/attachment.html>


More information about the vlc-devel mailing list