callref: Move callref from 'sender' to individual implementation of a, b, c-netz
Cellular networks use transaction instances, so callref is now member of transaction object.
This commit is contained in:
@@ -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->sender.callref, spl, 160);
|
||||
call_tx_audio(cnetz->callref, spl, 160);
|
||||
pos = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user