diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-06-29 00:18:19 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-07-01 18:26:59 +0400 |
commit | f7ad6fe30a7659afa8c0fad0a9a4952a0f83d36b (patch) | |
tree | cb9e002ff935f7d88dca795a209f55a9c49a49ea | |
parent | 904f76aad10096825f1dddd3f1f45cfd86b8d1f6 (diff) |
Increasing the bitrate of LFE
The 1.0.x branch doesn't have all the LFE optimizations that master has.
-rw-r--r-- | src/opus_multistream.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opus_multistream.c b/src/opus_multistream.c index d1cc5070..9493ca31 100644 --- a/src/opus_multistream.c +++ b/src/opus_multistream.c @@ -416,11 +416,11 @@ static void surround_rate_allocation( This models the main saving of coupled channels over uncoupled. */ stream_offset = 20000; /* The LFE stream is an exception to the above and gets fewer bits. */ - lfe_offset = 3500; + lfe_offset = 7000; /* Coupled streams get twice the mono rate after the first 20 kb/s. */ coupled_ratio = 512; - /* Should depend on the bitrate, for now we assume LFE gets 1/8 the bits of mono */ - lfe_ratio = 32; + /* Should depend on the bitrate, for now we assume LFE gets 3/8 the bits of mono */ + lfe_ratio = 96; /* Compute bitrate allocation between streams */ if (st->bitrate_bps==OPUS_AUTO) |