diff options
author | jbuethe <jbuethe@amazon.de> | 2023-03-10 12:33:27 +0000 |
---|---|---|
committer | jbuethe <jbuethe@amazon.de> | 2023-03-10 12:33:27 +0000 |
commit | 731a440fbe03c84b5a5f5ad9c97d48ebf280205f (patch) | |
tree | b920095ab2c2378d7a60799cb35350e68d259c20 | |
parent | ac521d6d542f2a37ae494bb74bb8a456a9652125 (diff) | |
download | opus-731a440fbe03c84b5a5f5ad9c97d48ebf280205f.tar.gz |
added offset to features
-rw-r--r-- | silk/decode_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/silk/decode_core.c b/silk/decode_core.c index 93810122..073f5731 100644 --- a/silk/decode_core.c +++ b/silk/decode_core.c @@ -154,6 +154,10 @@ void silk_decode_core( itmp = signalType == TYPE_VOICED ? psDecCtrl->pitchL[ k ] : 0; fwrite(&itmp, sizeof(itmp), 1, fperiod); + /* offset */ + tmp = offset_Q10 / (1U << 10); + fwrite(&tmp, sizeof(tmp), 1, foffset); + } #endif |