Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/opusenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,14 @@ int ope_encoder_ctl(OggOpusEnc *enc, int request, ...) {
ret = opeint_encoder_ctl2(&enc->st, request, value);
}
break;
#ifdef OPUS_SET_DRED_DURATION_REQUEST
case OPUS_SET_DRED_DURATION_REQUEST:
{
opus_int32 value = va_arg(ap, opus_int32);
ret = opeint_encoder_ctl2(&enc->st, OPUS_SET_DRED_DURATION_REQUEST, value);
}
break;
#endif
case OPUS_GET_LOOKAHEAD_REQUEST:
{
opus_int32 *value = va_arg(ap, opus_int32*);
Expand Down Expand Up @@ -997,6 +1005,14 @@ int ope_encoder_ctl(OggOpusEnc *enc, int request, ...) {
ret = opeint_encoder_ctl2(&enc->st, request, value);
}
break;
#ifdef OPUS_GET_DRED_DURATION_REQUEST
case OPUS_GET_DRED_DURATION_REQUEST:
{
opus_int32 *value = va_arg(ap, opus_int32*);
ret = opeint_encoder_ctl2(&enc->st, OPUS_GET_DRED_DURATION_REQUEST, value);
}
break;
#endif
case OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST:
{
opus_int32 stream_id;
Expand Down