[alsa-devel] Running PJSIP for voip calls in alsa
Srinivasan S
srinivasan.s at tataelxsi.co.in
Tue Jul 28 12:35:21 CEST 2015
Dear Maruthi,
Thanks a lot for the info
1. Is it same for Record also???
2. Could you please help me out in calculating for 8khz 16 bit stereo & 8khz 16 bit mono. (for playback & record)
3. Is that ALSA would interrupt for the data, every one second ie., 2*8000 = 16000 bytes per second
or is that the driver interrupt handler, at what rate the data is transfered to the ALSA???
Sorry for my poor understanding
Could you please help me out in this
Kindly do the needful as early as possible
Many Thanks in advance
Srinivasan S
________________________________
From: maruthi srinivas <maruthi.srinivas.b at gmail.com>
Sent: Tuesday, July 28, 2015 12:22 PM
To: Srinivasan S
Cc: Clemens Ladisch; alsa-devel at alsa-project.org
Subject: Re: [alsa-devel] Running PJSIP for voip calls in alsa
Considering playback,
period_size : your sound card will generate interrupt after period_size bytes have been consumed and ALSA core is informed of this, in driver's interrupt handler.
Periods : Number of buffer slices , each having period_size bytes.
Buffer_size : periods * period_size
Your application should query the driver for the parameters and set accordingly. Below is one good example for writing a alsa application :
http://equalarea.com/paul/alsa-audio.html
Regards,
Maruthi
On Tue, Jul 28, 2015 at 10:38 AM, Srinivasan S <srinivasan.s at tataelxsi.co.in<mailto:srinivasan.s at tataelxsi.co.in>> wrote:
Dear Clemens,
Could you please helpme out in this
I am trying to understand few terminologies w.r.t the following for developing alsa application
Period_size
Periods
period_time
Buffer_time
Buffer_size
________________________________________
From: alsa-devel-bounces at alsa-project.org<mailto:alsa-devel-bounces at alsa-project.org> <alsa-devel-bounces at alsa-project.org<mailto:alsa-devel-bounces at alsa-project.org>> on behalf of Srinivasan S <srinivasan.s at tataelxsi.co.in<mailto:srinivasan.s at tataelxsi.co.in>>
Sent: Monday, July 20, 2015 12:18 PM
To: Clemens Ladisch
Cc: alsa-devel at alsa-project.org<mailto:alsa-devel at alsa-project.org>
Subject: Re: [alsa-devel] Running PJSIP for voip calls in alsa
Dear Clemens,
Could you pls let me know, do you know any alsa linux utilities/tools similar to aplay arecord to determine this clock drift issue in driver
Kindly do the needful,
Many Thanks in advance
________________________________________
From: Srinivasan S
Sent: Thursday, July 16, 2015 10:09 AM
To: Clemens Ladisch
Cc: alsa-devel at alsa-project.org<mailto:alsa-devel at alsa-project.org>
Subject: Re: [alsa-devel] Running PJSIP for voip calls in alsa
Dear Clemens,
Thanks a lot for your replies,
Could you pls let me know, do you know any alsa linux utilities/tools similar to aplay arecord to determine this clock drift issue in driver
Kindly do the needful,
Many Thanks in advance
________________________________________
From: Clemens Ladisch <clemens at ladisch.de<mailto:clemens at ladisch.de>>
Sent: Monday, July 13, 2015 1:28 PM
To: Srinivasan S
Cc: alsa-devel at alsa-project.org<mailto:alsa-devel at alsa-project.org>
Subject: Re: [alsa-devel] Running PJSIP for voip calls in alsa
Srinivasan S wrote:
> Could you please provide any suggestions or inputs from where this problem could arrive ie., in either platform driver or machine driver or codec driver??
I do not know that driver.
Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel at alsa-project.org<mailto:Alsa-devel at alsa-project.org>
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel at alsa-project.org<mailto:Alsa-devel at alsa-project.org>
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
More information about the Alsa-devel
mailing list