PJSIP sound device access

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

 



Hi Faba,

Thanks for pointing me in the right direction.
I also found these links on the PJSIP website link which is what I will follow:
http://trac.pjsip.org/repos/wiki/FAQ#ext-audio
http://trac.pjsip.org/repos/wiki/External_Sound_Device#<http://trac.pjsip.org/repos/wiki/External_Sound_Device>

Best Regards
Tom


________________________________
From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Faba Aa
Sent: Saturday, 7 July 2012 11:07 AM
To: pjsip at lists.pjsip.org
Subject: Re: PJSIP sound device access

you may misunderstand my suggestion, I suggested to implement an audio device like  wmme_dev.c/ alsa_dev.c ......, but not mean to use  wmme_dev.c directly.
the function of audio device is to feed/read pcm data to/from low layer and put the frame to upper layer.

Faba

On Sat, Jul 7, 2012 at 5:46 AM, Tom Paasuke <Tom.Paasuke at clearsonics.com<mailto:Tom.Paasuke at clearsonics.com>> wrote:
Hi,
Thanks, I will have a look at wmme_dev.c. How do I configure pjsip to use this as an audio device. As i am crosscompiling pjsip in a ubuntu virtual machine, currently .configure sets pjsip up for oss sound and off course  when i run the pjsua test program on embedded target it doesn't find an audio device.
Best Regards
Tom

________________________________________
From: pjsip-bounces@xxxxxxxxxxxxxxx<mailto:pjsip-bounces at lists.pjsip.org> [pjsip-bounces at lists.pjsip.org<mailto:pjsip-bounces at lists.pjsip.org>] on behalf of Faba Aa [aafaba at gmail.com<mailto:aafaba at gmail.com>]
Sent: Friday, 6 July 2012 3:18 PM
To: pjsip list
Subject: Re: PJSIP sound device access

Hi,
  I think you can implement a pjsip sound device to do such thing. you can use pa_dev.c/wmme_dev.c as  references. wmme_dev.c feed a ring buffer, but you need to feed A/D buffer instead.
Faba
On Fri, Jul 6, 2012 at 9:42 AM, Tom Paasuke <Tom.Paasuke at clearsonics.com<mailto:Tom.Paasuke at clearsonics.com><mailto:Tom.Paasuke at clearsonics.com<mailto:Tom.Paasuke at clearsonics.com>>> wrote:
Hi,

I want to implement PJSIP on an embedded ARM9-based processor module supplied with 2.6.34 Linux to create an embedded SIP phone.

The Linux kernel provided isn't setup for any sound devices and doesn't have sound device drivers but there are C methods to write to the A/D and DAC devices directly.

Is it possible to bypass PJSIP's operating system sound device driver access and instead access sound devices directly or can someone suggest a better way?

If it is possible how would I do it and what methods would I need to implement?

(In a future development I plan to port PJSIP on another embedded platform not running Linux but instead running MQX or Keil RTX so again I need to implement access to sound devices somehow.)

Thanks and Best Regards
Tom Paasuke

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org><mailto:pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


________________________________

No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com><http://www.avg.com>
Version: 2012.0.2180 / Virus Database: 2437/5112 - Release Date: 07/05/12


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.2180 / Virus Database: 2437/5112 - Release Date: 07/05/12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120709/09e5cf31/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