[Freeswitch-users] polyphase lowpass filter

e schmidbauer e.schmidbauer at gmail.com
Mon Jun 30 12:07:28 PDT 2008


thanks for the tip...i figured it out....changed line
"lame_set_brate(context->gfp, 24 * (handle->samplerate / 8000) *
handle->channels);" to "lame_set_brate(context->gfp, 24);" and added line
"lame_set_lowpassfreq(context->gfp,0);"
not sure if everyone wants it configured this way....i find that this config
does not skip when broadcasting to icecast. thanks again.

On Mon, Jun 30, 2008 at 1:44 PM, Brian West <brian at freeswitch.org> wrote:

> Looks like you have this options:
>
> /* freq in Hz to apply lowpass. Default = 0 = lame chooses.  -1 =
> disabled */
> int CDECL lame_set_lowpassfreq(lame_global_flags *, int);
>
> Looks like what you want to do.   There are a few places in the code
> already we do a set of lame_set_* calls you might have to wedge that
> one in there can you test that and let me know how it works?  might be
> something we need to add to the module.
>
> /b
>
>
> On Jun 30, 2008, at 10:09 AM, e schmidbauer wrote:
>
> > can someone direct me to the line in the mod_shout.c that enables
> > polyphase lowpass filter? i'd like to enable it when sending to an
> > icecast stream. thanks.
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> Brian West
> sip:brian at freeswitch.org <sip%3Abrian at freeswitch.org>
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080630/b37c7c13/attachment-0002.html 


More information about the FreeSWITCH-users mailing list