[MPlayer-dev-eng] [PATCH] libbs2b audio filter

Andrew Savchenko bircoph at gmail.com
Sat Mar 28 02:57:32 CET 2009


Hi,

On Friday 27 March 2009 01:18, Diego Biurrun wrote:
[...]
> > > This patch reminded me, why do we still have this af_msg
> > > special-casing?
> >
> > I have absolutely no idea. It is defined at af.h, it is not
> > marked as deprecated, it is used widely in other peaces of
> > code; so I used it for consistency.
> >
> > Now I replaced them by mp_msg, because newly introduced
> > af_stats filter do the same. Perhaps af_msg should be declared
> > deprecated and removed from other audio filters.
>
> Any volunteers to remove all of them? :)

Will do this later as a separate patch.

> > --- configure	(revision 29067)
> > +++ configure	(working copy)
> > @@ -6589,6 +6593,45 @@
> >
> > +  if $_pkg_config --exists libbs2b ; then
>
> Gah, pkg-config..

???
As of svn r.29079 it is still _pkg_config, not pkg_config. Variable 
usage instead of direct binary call is sufficient, because 
$_pkg_config == false if this utility is not present on the target 
system.

> > +    cc_check $_inc_tmp $_ld_tmp &&
> > extra_ldflags="$extra_ldflags $_ld_tmp" \ +     
> > extra_cflags="$extra_cflags $_inc_tmp" && _libbs2b=yes
>
> Missing && ?

Yes :)

> > +def_libbs2b="#undef CONFIG_LIBBS2B"
> > +if test "$_libbs2b" = yes; then
> > +  def_libbs2b="#define CONFIG_LIBBS2B"
> > +fi
>
> You can save two lines with && here.

ok

> > --- libaf/af_bs2b.c	(revision 0)
> > +++ libaf/af_bs2b.c	(revision 0)
> > @@ -0,0 +1,215 @@
> > +/*
> > + * This filter adds support for the Bauer
> > stereophonic-to-binaural + * DSP using bs2b library:
> > http://bs2b.sourceforge.net/
>
> "This filter adds support for" is completely redundant.
>
> Compare
>
>   This sentence tells you that what you wrote is redundant.
>
> vs.
>
>   What you wrote is redundant.

Fixed.

-- 
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libbs2b-configure-v5.patch
Type: text/x-diff
Size: 2740 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090328/76df6c33/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libbs2b-filter-v10.patch
Type: text/x-diff
Size: 7635 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090328/76df6c33/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090328/76df6c33/attachment.pgp>


More information about the MPlayer-dev-eng mailing list