[Freeswitch-dev] Audio To Buffer

Anthony Minessale anthony.minessale at gmail.com
Thu Apr 2 11:47:51 PDT 2009


probably, I am not positive but it's called switch_buffer, it works a lot
like a file
you create it, pick a size and a block size to grow by and a limit if
desired when you create it
then you can read and write to it like a file (it's not thread safe on it's
own, it needs mutexes to protect it)


On Thu, Apr 2, 2009 at 1:41 PM, Robert Clayton <rjcajax at gmail.com> wrote:

> Is that a C API that I could hook with mod_managed?
>
> 2009/4/2 Anthony Minessale <anthony.minessale at gmail.com>:
> > yes you could write a function in C to use switch_buffer obj to read from
> > the channel in SLN and save it to the buffer.
> >
> >
> > On Thu, Apr 2, 2009 at 10:10 AM, Robert Clayton <rjcajax at gmail.com>
> wrote:
> >>
> >> All,
> >>
> >> Is there anyway to take what would be read/written to/from a session
> >> such as streamFile/recordFile and place them in a memory buffer rather
> >> than a file allowing sudo-real time for manipulation by an
> >> application?
> >>
> >> Bob
> >>
> >> _______________________________________________
> >> Freeswitch-dev mailing list
> >> Freeswitch-dev at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >> http://www.freeswitch.org
> >
> >
> >
> > --
> > Anthony Minessale II
> >
> > FreeSWITCH http://www.freeswitch.org/
> > ClueCon http://www.cluecon.com/
> >
> > AIM: anthm
> > MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> > IRC: irc.freenode.net #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> > iax:guest at conference.freeswitch.org/888
> > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> > pstn:213-799-1400
> >
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> >
> >
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090402/f2391402/attachment.html 


More information about the Freeswitch-dev mailing list