libsample: Add another function for converting between int16_t and sample_t
Now we have speech level and 1mW (0 dBm) conversion functions
This commit is contained in:
@@ -506,7 +506,7 @@ static void call_play_announcement(euro_call_t *call)
|
||||
else
|
||||
chunk[i] = 0.0;
|
||||
}
|
||||
int16_to_samples(spl, chunk, 160);
|
||||
int16_to_samples_speech(spl, chunk, 160);
|
||||
call_up_audio(call->callref, spl, 160);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user