Displaying 1 result from an estimated 1 matches for "directional_r".
Did you mean:
directional
2018 Aug 30
0
[PATCH] Apply equal bit allocation to ambisonic channels
...diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c
index 6cc1f432..9cb9bf34 100644
--- a/src/opus_multistream_encoder.c
+++ b/src/opus_multistream_encoder.c
@@ -742,20 +742,9 @@ static void ambisonics_rate_allocation(
{
int i;
opus_int32 total_rate;
- opus_int32 directional_rate;
- opus_int32 nondirectional_rate;
- opus_int32 leftover_bits;
-
- /* Each nondirectional channel gets (rate_ratio_num / rate_ratio_den) times
- * as many bits as all other ambisonics channels.
- */
- const int rate_ratio_num = 4;
- const int rate_ratio_den = 3;
+ opus_int32 pe...