search for: opus_multistream_decoder_create

Displaying 3 results from an estimated 3 matches for "opus_multistream_decoder_create".

2012 Dec 18
2
multi stream decode
Hi, I don't understand how works the multi stream api in opus. I need to send two mono streams over network with RTP. I think I'm right when I create an OpusMsDecoder with opus_multistream_decoder_create (48000, 2, 2 ,0 ,mapping, NULL) where mapping is: unsigned char mapping[2] = {0,1} isn't it ? Next, i need to encode data which I get from jack (float) so I use opus_multistream_encode_float(enc, data, 480 , encodedData, MAX_DATA) Then I send it using RTP. My question is how can I make the...
2015 Apr 02
1
Opus multi-stream/surround: Audio corruption on decoded content
...eam_encoder_ctl(m_MSEnc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_MODE(MODE_CELT_ONLY)); </encoder> <decoder> int streams = (int)m_SurroundInfo.s.streams; int coupled_streams = (int)m_SurroundInfo.s.coupled_streams; m_MSDec = opus_multistream_decoder_create(SAMPLE_RATE, m_SurroundInfo.s.channels, streams, coupled_streams, m_SurroundInfo.s.channel_mapping, &err ); </decoder> </code> I'd appreciate it, if someone can shed some light on why the observed phenomenon is occurring. Could...
2015 Apr 02
0
Opus multi-stream/surround: Audio corruption on decoded content
...eam_encoder_ctl(m_MSEnc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_MODE(MODE_CELT_ONLY)); </encoder> <decoder> int streams = (int)m_SurroundInfo.s.streams; int coupled_streams = (int)m_SurroundInfo.s.coupled_streams; m_MSDec = opus_multistream_decoder_create(SAMPLE_RATE, m_SurroundInfo.s.channels, streams, coupled_streams, m_SurroundInfo.s.channel_mapping, &err ); </decoder> </code> I'd appreciate it, if someone can shed some light on why the observed phenomenon is occurring. Could...