Audio underflow and over flow problem when using TI-SDK 8

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

 



Hello Everyone,


We use the pjproject-2.3 with TI-SDK 8 we are facing the following problem:

"Master/sound underflow and overflow"


The above problem occurs often for pjsip call made to any SIP client, and when this problem is encountered the audio path between the two is disrupted, which fails to close the Audio device, following which no more SIP calls can be made (as we try to reopen the Audio device), unless we restart the application.


The details of the setup is as below:

TI-SDK-8

AM335xSDK 08.00.00.00

Linux kernel verison 3.14


Below is the PJSIP log, when the problem is encountered:

Master / sound Underflow, buf_cnt=0, will generate 1 frame
Master / sound Underflow, buf_cnt=0, will generate 1 frame
Master / sound Underflow, buf_cnt=0, will generate 1 frame
Master / sound Underflow, buf_cnt=0, will generate 1 frame


Please find attached both the Success and Failure logs for your reference.


In the failure scenario of Audio device closure, the below logs are observed:

19:06:19.789    pjsua_aud.c  Closing sound device after idle for 1 second(s)

19:06:19.790    pjsua_aud.c  .Closing TI UDA1345TS:  (hw:0,0) sound playback device and TI UDA1345TS:  (hw:0,0) sound capture device

19:06:21.818       pa_dev.c  .Stopping stream..


And in the success scenario of Audio device closure, the below logs are observed:

19:05:07.625    pjsua_aud.c  Closing sound device after idle for 1 second(s)

19:05:07.626    pjsua_aud.c  .Closing TI UDA1345TS:  (hw:0,0) sound playback device and TI UDA1345TS:  (hw:0,0) sound capture device

19:05:07.647       pa_dev.c  .Stopping stream..

19:05:07.647       pa_dev.c  .Done, status=0

19:05:07.647       pa_dev.c  .Closing TI UDA1345TS:  (hw:0,0): 0 underflow, 0 overflow


The above scenario was tested on both PortAudio and ALSA, the result being the same.


Looking forward for your replies at the earliest and many thanks in advance.


Dattu M P
Engineer - EPD | CBU
TATA ELXSI
ITPB Road  Whitefield  Bangalore - 48
www.tataelxsi.com<http://www.tataelxsi.com/>
Tel: +91 9972061300
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150710/52115a52/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SuccessfulAudioDeviceClosureLog.txt
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150710/52115a52/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FailedAudioDeviceClosureLog.txt
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150710/52115a52/attachment-0001.txt>


[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