aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding
diff options
context:
space:
mode:
authorRoman Khassraf <roman@khassraf.at>2015-08-11 12:44:56 +0200
committerRoman Khassraf <roman@khassraf.at>2015-08-11 12:44:56 +0200
commitd36123dac8b457299e4d132172b6022860b9b40d (patch)
tree8b53fbea1e163155a1e78f71abcbd59248abddc0 /lib/decoding
parent23c8d8a92f1c1a19f5c1ce29df91c27f53e51359 (diff)
Fixed missing GSM 06.10 header for FR audio frames.
Diffstat (limited to 'lib/decoding')
-rw-r--r--lib/decoding/tch_f_decoder_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc
index f3099fd..467ffe9 100644
--- a/lib/decoding/tch_f_decoder_impl.cc
+++ b/lib/decoding/tch_f_decoder_impl.cc
@@ -244,7 +244,7 @@ namespace gr {
}
}
- // if boundary_check is enabled and d_boundary_decode is false, we are done
+ // if voice boundary_check is enabled and d_boundary_decode is false, we are done
if (d_boundary_check && !d_boundary_decode)
{
return;
@@ -283,6 +283,7 @@ namespace gr {
// Undo Um's importance-sorted bit ordering.
// See GSM 05.03 3.1 and Table 2.
BitVector frFrame(260 + 4); // FR has a frameheader of 4 bits only
+ frFrame.fillField(0, mFrameHeader, 4);
BitVector payload = frFrame.tail(4);
mTCHD.unmap(GSM::g610BitOrder, 260, payload);