C-Netz: callref is moved completely to transaction object

This commit is contained in:
Andreas Eversberg
2016-08-21 09:36:55 +02:00
parent 8d7c7f4425
commit 17930af920
3 changed files with 14 additions and 58 deletions

View File

@@ -837,7 +837,7 @@ void unshrink_speech(cnetz_t *cnetz, int16_t *speech_buffer, int count)
for (i = 0; i < count; i++) {
spl[pos++] = speech_buffer[i];
if (pos == 160) {
call_tx_audio(cnetz->callref, spl, 160);
call_tx_audio(cnetz->trans_list->callref, spl, 160);
pos = 0;
}
}