[Freeswitch-users] recording to ogg vorbis

Brian West brian at freeswitch.org
Sun May 30 07:13:38 PDT 2010


See how easy things can be sometimes.. can you post a patch on jira?

/b

On May 30, 2010, at 8:17 AM, Kees Varekamp wrote:

> Thanks.
> 
> I think I got it fixed:
> 
> 1) libsndfile needs updating to 1.0.21
> 2) libsndfile needs libogg, libvorbis, libflac and pkg-config (otherwise it will happily compile, but without ogg support)
> 3) mod_sndfile needs an extra else if after line 150:
> 	} else if (!strcmp(ext, "oga")) {
> 		context->sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_VORBIS;
> 		context->sfinfo.channels = 1;
> 		context->sfinfo.samplerate = 8000;
> 	}
> 
> 4) make && make install mod_sndfile 
> 5) ...
> 6) Profit!
> 
> I can record *.oga files now :-))) Very cool.
> 




More information about the FreeSWITCH-users mailing list