summaryrefslogtreecommitdiff
path: root/silk/decode_frame.c
diff options
context:
space:
mode:
authorFelicia Lim <flim@google.com>2016-03-30 15:46:59 +0200
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-17 15:05:55 -0400
commit4f5557c3095a1d212161609ff638cdae67a9b303 (patch)
tree84b7869caff9385de0844af3ac6e0d1cb09eb475 /silk/decode_frame.c
parent0e69e4ee168de21c38673b92286cc75d5f155eea (diff)
downloadopus-4f5557c3095a1d212161609ff638cdae67a9b303.tar.gz
Attenuate SILK PLC gain only for unvoiced speech
Diffstat (limited to 'silk/decode_frame.c')
-rw-r--r--silk/decode_frame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/silk/decode_frame.c b/silk/decode_frame.c
index a605d95a..dfa73c4a 100644
--- a/silk/decode_frame.c
+++ b/silk/decode_frame.c
@@ -97,6 +97,7 @@ opus_int silk_decode_frame(
psDec->first_frame_after_reset = 0;
} else {
/* Handle packet loss by extrapolation */
+ psDec->indices.signalType = psDec->prevSignalType;
silk_PLC( psDec, psDecCtrl, pOut, 1, arch );
}