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:
Andreas Eversberg
2022-09-25 19:31:31 +02:00
parent 486d6b3780
commit a756ba8fd9
6 changed files with 37 additions and 10 deletions

View File

@@ -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);
}