[Freeswitch-dev] Audio To Buffer

Robert Clayton rjcajax at gmail.com
Thu Apr 2 12:20:17 PDT 2009


Do you know of any good reference for the SLN format?
Am I correct that it is:
headerless, 16 bit signed (little-endian) PCM.
little-endian

2009/4/2 Anthony Minessale <anthony.minessale at gmail.com>:
> 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
>> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> > IRC: irc.freenode.net #freeswitch
>> >
>> > FreeSWITCH Developer Conference
>> > sip:888 at conference.freeswitch.org
>> > iax:guest at conference.freeswitch.org/888
>> > googletalk:conf+888 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
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 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
>
>



More information about the Freeswitch-dev mailing list