mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-04 23:14:41 -04:00
* feat(realtime): WebRTC support Signed-off-by: Richard Palethorpe <io@richiejp.com> * fix(tracing): Show full LLM opts and deltas Signed-off-by: Richard Palethorpe <io@richiejp.com> --------- Signed-off-by: Richard Palethorpe <io@richiejp.com>
10 lines
298 B
C
10 lines
298 B
C
#include <opus.h>
|
|
|
|
int opus_shim_encoder_set_bitrate(OpusEncoder *st, opus_int32 bitrate) {
|
|
return opus_encoder_ctl(st, OPUS_SET_BITRATE(bitrate));
|
|
}
|
|
|
|
int opus_shim_encoder_set_complexity(OpusEncoder *st, opus_int32 complexity) {
|
|
return opus_encoder_ctl(st, OPUS_SET_COMPLEXITY(complexity));
|
|
}
|