G.711 with stereo hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to use pjmedia_stereo_port_create() resolve my problem. But I
ends at runtime with at this point: 

g711_decode: Assertion `output_buf_len >= (input->size << 1)' failed.

 

The get_frame() function call the decoder with the following values:

 outSize:0, frame->size:160, samples_count:80, BYTES_PER_SAMPLE:2

 

Is the stereo port a practicable way to solve my problem ? 

 

From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of David Andrey
Sent: Mittwoch, 17. Juni 2009 12:06
To: pjsip list
Subject: G.711 with stereo hardware

 

Hi all,

 

I'm running PJSIP and PJMEDIA on a hardware that  have some problems
with mono sound. Stereo works fine. 

 

I have to use G.711 as audio codec. Is there an "easy" way to add a
second channel (ideally a copy) to the existing one ?

 

Best regards

 

David

 

 





 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090617/6fb34d24/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux