Displaying 8 results from an estimated 8 matches for "opus_ok".
Did you mean:
  opus_
  
2015 Apr 02
1
Opus multi-stream/surround: Audio corruption on decoded content
...= 48000
            m_SurroundInfo.s.channels,
            OPUS_SURROUND_MAPPING_FAMILY,
            &streams,
            &coupled_streams,
            m_SurroundInfo.s.channel_mapping,
            OPUS_APPLICATION_RESTRICTED_LOWDELAY,
            &err
            );
        if (err != OPUS_OK)
            return;
        m_SurroundInfo.s.streams = (unsigned char)streams;
        m_SurroundInfo.s.coupled_streams = (unsigned char)coupled_streams;
        opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BITRATE(bitRate));
        opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BANDWIDTH(OPU...
2017 Jun 16
2
[EXTERNAL] Re: Submitting a patch that exposes VAD voiced/unvoiced signal type
Hi Peter,
Can you say a little bit more about what you're doing exactly with the
information you're exposing and how? unfortunately, I don't have a
concrete proposal in mind right now. That's in part because I don't
quite understand the use case, but also because it's really hard to
expose this kind of information in a way that both avoids breaking
application with new
2016 Apr 26
2
opus-tools: Fix potential uninitialized access for set-ctl-int
Here is a simple patch to fix a bug in opusenc's set-ctl-int code
-- 
Thanks,
Michael Graczyk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-potential-uninitialized-access-for-set-ctl-int.patch
Type: text/x-patch
Size: 992 bytes
Desc: not available
URL: <http://lists.xiph.org/pipermail/opus/attachments/20160425/22994ffa/attachment.bin>
2016 Nov 10
1
Error running opus encoder/decoder under PIC32
...as
follows:
 
                _encoder = opus_encoder_create(48000, 2,
OPUS_APPLICATION_AUDIO, &error);
                error = opus_encoder_ctl(_encoder, OPUS_SET_BITRATE(64000));
                _decoder = opus_decoder_create(48000, 2, &error);
 
The variable error is always set to OPUS_OK.
The encoding and decoding procedure is as follows:
 
                bytesEncoded = opus_encode(_encoder, _encoderBuffer,
_frameSize, codedBuffer, sizeof(codedBuffer));
                sampsDecoded = opus_decode(_decoder, codedBuffer,
bytesEncoded, decoderBuffer, _frameSize, false);
 
In thi...
2018 Jun 29
1
OPUS on cortex M4
...nd would again like to ask some questions.
My settings:
I included all the opus files into my project (opus-1.2.1)
Defined: FIXED POINT, VAR_ARRAYS, DISABLE FLOAT API, OPUS_BUILD, CELT_MODE_ONLY
I am able to allocate enough memory for the encoder as well as decoder state and they both return with OPUS_OK.
    uint32_t error;
    opus_int32 Fs = 8000;
    int channels = 1;
    OpusEncoder *enc;
    enc = opus_encoder_create(Fs, channels, OPUS_APPLICATION_RESTRICTED_LOWDELAY, &error);
    OpusDecoder *dec;
    dec = opus_decoder_create(Fs, channels, &error);
However, If I try to make a si...
2016 Jan 07
2
Issue with decoding 8-bit PCM data
...ate = 8000
ui32Channel = 1
FRAME_SIZE_IN_MS is 20
MAX_PACKET is 1500
ui8ScaleFactor = 1 for 8-bit and 2 for 16-bit data
ui32BitsPerSample = 8 for 8-bit data and 16 for 16-bit data
The code is as follows
sOpusDec = opus_decoder_create(ui32SamplingRate, ui32Channel, &i32error);
if (i32error != OPUS_OK)
{
       return((int)i32error);
}
opus_decoder_ctl(sOpusDec, OPUS_SET_LSB_DEPTH(ui32BitsPerSample));
ui32SizeOfWrBuf =
(ui32SamplingRate*ui32Channel*FRAME_SIZE_IN_MS*ui8ScaleFactor)/1000;
opi16_out =
(int16_t*)calloc(((ui32SizeOfWrBuf/ui8ScaleFactor)+1),sizeof(int16_t));
pcRdBuf = (uint8_t *)cal...
2015 Apr 02
0
Opus multi-stream/surround: Audio corruption on decoded content
...= 48000
            m_SurroundInfo.s.channels,
            OPUS_SURROUND_MAPPING_FAMILY,
            &streams,
            &coupled_streams,
            m_SurroundInfo.s.channel_mapping,
            OPUS_APPLICATION_RESTRICTED_LOWDELAY,
            &err
            );
        if (err != OPUS_OK)
            return;
        m_SurroundInfo.s.streams = (unsigned char)streams;
        m_SurroundInfo.s.coupled_streams = (unsigned char)coupled_streams;
        opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BITRATE(bitRate));
        opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BANDWIDTH(OPU...
2017 Jun 20
0
[EXTERNAL] Re: Submitting a patch that exposes VAD voiced/unvoiced signal type
Hi Jean-Marc,
We're exposing the opus_internal_flags data structure so that we can access the value assigned to prevSignalType. Here's a snippet of our code:
    error = opus_encoder_get_internal_flags(vad->opus, &internalflags);
    if (error != OPUS_OK)
    {
        return OPUSVAD_OPUS_ERROR;
    }
    cur_signal_type = internalflags.prevSignalType;
    if ((vad->cur_state == STATE_NO_STATE) && (cur_signal_type == TYPE_UNVOICED || cur_signal_type == TYPE_VOICED) && (vad->prev_signal_type == TYPE_NO_VOICE_ACTIVITY)) {...