search for: stream_map

Displaying 2 results from an estimated 2 matches for "stream_map".

2018 Mar 19
3
[PATCH] Support for Ambisonics
Hi Drew, I think the libopusenc patch is better, but there's still a few issues left: 1) The static MAX_PACKET_BUFFER_SIZE value is still problematic because if you link libopusenc with a new version of libopus that supports higher order projection or just more projection channels for order 3, then you will overflow the buffer. I think what you'd want is a _ope_opus_header_get_size() call
2018 Mar 20
2
[PATCH] Support for Ambisonics
...istream.h needs to be included for OpusMSEncoder. opus_projection.h can't be relied upon to include it since opus_projection.h may not be available. +OpusGenericEncoder *_oge_surround_create( + int Fs, int channels, int channel_mapping, int *nb_streams, + int *nb_coupled, unsigned char *stream_map, int application, + int *ret) { + OpusGenericEncoder *st; + st = malloc(sizeof(*st)); +#ifdef OPUS_HAVE_OPUS_PROJECTION_H + if(_oge_use_projection(channel_mapping)){ + int ci; + st->pr=opus_projection_ambisonics_encoder_create(Fs, channels, + channel_mapping, nb_streams, nb_co...