Skip to contentSkip to conversation

problem with MU -LAW

DISCUSSION mahendra sp 2 participants 2 messages Jul 1, 2003

lore
Share & tools
lore
#0 lore raw

hi, alsa people,

I have wriiten the application which realises full duplex.But
there is playback buffer underrun proble. The buffer tries to read the value but -ve value. After writink the -ve value for some timesay 3 minutes, it becomes alright. again after some time buffer under run occurs. whts the problem . how to over come it. is it dependednt on periodsize and buffersize?

and also i want to implement G711. does it happen
automatically by using snd_pcm_format_mulaw? if not how to do it?

thanks, regards,
mahendra
___________________________________________________
Click below to experience Sooraj R Barjatya's latest offering 'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
& Kareena http://www.mpkdh.com

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01

#1 lore raw
Quoted 8 lines · mahendra sp

hi, alsa people,

I have wriiten the application which realises full duplex.But there is
playback buffer underrun proble. The buffer tries to read the value but
-ve value. After writink the -ve value for some timesay 3 minutes, it
becomes alright. again after some time buffer under run occurs. whts the problem . how to over come it. is it dependednt on periodsize and buffersize?

Quoted 6 lines

and also i want to implement G711. does it happen automatically by
using snd_pcm_format_mulaw? if not how to do it?

thanks, regards,
mahendra
___________________________________________________

G.711 uses two audio formats. A-Law (Europe), and mu-Law(USA).

So, if one talks about A-Law and mu-Law, one is talking about G.711

Cheers
James

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01