How can I get the frames of sound Input / output

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

 



2008/7/23 camel1996 <camel1996 at 126.com>:

> Hi:
>   I am thinking about adding spectrum feature to my softphone. Before I use
> FFT(*Fast Fourier Transform*), I must catch each audio frame before they
> are input to microphone or output to speaker.
>   Are there any callback APIs or some other APIs in PJMedia I can use to
> get those input or output audio frames?
>
>

One of the basic concept of pjmedia is about pjmedia_port, which allows
"ports" to be cascaded together to achieve certain goals. And these ports
have callbacks manipulate audio frames. Please read more in pjmedia
documentation.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080723/47fcbe39/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