[opus] [PATCH] Add Functions to Create Ambisonic Multistream Encoder

Michael Graczyk mgraczyk at google.com
Tue May 24 05:14:01 UTC 2016


Sounds good, I'll make those changes.

Thanks for pointing out the make differences. Do you mind if I add an
#ifndef, #define to the top of the file for the experiment flag? The code
becomes significantly more nasty with #ifdefs everywhere and it would only
get worse in subsequent patches.
On May 23, 2016 21:28, "Jean-Marc Valin" <jmvalin at jmvalin.ca> wrote:

> On 05/23/2016 10:57 PM, Michael Graczyk wrote:
> > Since they correspond to mapping family values, I figured it would be
> > wise to make them match so that the correspondence would be clear. If
> > you would rather that correspondence not be explicit I will remove the
> > explicit assignments.
>
> I'd rather have them be different, since they're not really the same
> thing. The idea is that we may have more than one family map to the same
> type (e.g. currently both families 0 and 255 map to TYPE_NONE).
>
> One last thing I just noticed, please don't rely on
> ENABLE_EXPERIMENTAL_AMBISONICS actually being defined to zero when your
> patch is disabled. Some people don't use the autotools build (e.g. they
> use the plain Makefile or Visual Studio, or custom scripts), so your
> patch would break their build. Instead, please rely on #ifdef's.
>
> Cheers,
>
>         Jean-Marc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20160524/f58bab89/attachment-0001.html>


More information about the opus mailing list