On Wed, Oct 8, 2008 at 12:52 AM, Jeremy A <[EMAIL PROTECTED]> wrote: > Alexander Chemeris wrote: >> re: audio delay >> There is no such API in sipXtapi I'm aware of (though I'm not >> an expert here). But on the level of sipXmediaLib/sipXmediaAdapterLib >> we're preparing a big update, which include this ability - to >> delay audio while receiver won't be ready. Expect this update >> to come up in a week or so. If you want, you'll be able to >> just hook this up to sipXtapi level > > It's been a while since I posted my question. In the mean time I have > dug deep into the API code and discovered there are hooks to the audio > I/O after all. > > sMpAudioDeviceInitFuncPtr > sMpAudioMicReadFuncPtr > sMpAudioSpeakerWriteFuncPtr > > Which are alterable pointers to audio I/O functions. In my case I > replaced them with ALSA I/O and fixed and elastic delay buffers - plus
I'd not recommend using them in long term. They are deprecated and are not supported in new Topology flowgraph. We're planning to remove old dmaTask as soon as we have a slice of free time. I'd recommend you to switch to Topology graph and implement normal ALSA interface for it. Look into MpInputDeviceDriver and MpOutputDeviceDriver base classes and Mpid*/Mpod* existing classes as a good example. We'll be glad to include ALSA support for new audio I/O to mainline. > as-heard sound recording using the excellent libsndfile which can write > in most formats with on-the-fly format conversion/compression. Do you record right from the audio I/O functions? -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
