Hi Johan,
Hardly any work has been put into getting sipXtapi working on MacOS X
(pretty much due to the fact that core developers have lacked the hardware).

Anyway, what you'll want to do is to provide CoreAudio MpInputDevice and
MpOutputDevice derived classes.
For windows, those classes are:
MpidWinMM.(cpp|h) -- input devices for Windows MM interface.
MpodWinMM.(cpp|h) -- output devices for Windows MM interface.

For Linux, those classes are:
MpidOss.(cpp|h) -- input devices for OSS (typically on Linux)
MpodOss.(cpp|h) -- output devices for OSS (typically on Linux)

So, for MacOS X, I would say you should make classes similar to those above,
named similarly -- i.e. with "Mpid" and "Mpod" prefixes, and deriving from
the same base classes (MpInputDevice, MpOutputDevice).

I would suggest the following names:
MpidCoreAudio.(cpp|h)
MpodCoreAudio.(cpp|h)

On Wed, Nov 26, 2008 at 1:43 AM, Johan Groth <
[EMAIL PROTECTED]> wrote:

> Hi,
> I have compiled and installed sipXport sipXsdp with no problem. I ran
> autoreconf -fi in sipXmediaLib and configured it.
> ./configure --prefix=/usr/local/sipx --with-pcre=/opt/local
> --enable-codec-amr --enable-codec-amrwb --disable-stream-player
> --enable-local-audio
> No problems. But compiling it didn't work.
>
> In file included from ../include/mp/MpidOss.h:23,
>                  from mp/MpidOss.cpp:26:
> ../include/mp/MpOss.h:21:27: error: sys/soundcard.h: No such file or
> directory
> In file included from ../include/mp/MpidOss.h:23,
>                  from mp/MpidOss.cpp:26:
>
> AFAIK sys/soundcard.h is a Linux specific file, isn't it?
>
> According to the readme.txt you need this:
> $ ll /System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/
> total 648
> -rw-r--r--  1 root  wheel   18795 18 Mar  2008 AudioDriverPlugIn.h
> -rw-r--r--  1 root  wheel  180464 18 Mar  2008 AudioHardware.h
> -rw-r--r--  1 root  wheel   54151 18 Mar  2008 AudioHardwarePlugIn.h
> -rw-r--r--  1 root  wheel     724 18 Mar  2008 CoreAudio.h
> -rw-r--r--  1 root  wheel   58854 18 Mar  2008 CoreAudioTypes.h
> -rw-r--r--  1 root  wheel    4017 18 Mar  2008 HostTime.h
>
> to compile on a Mac but it doesn't help.
> So how do I compile sipXtapi on OS/X 10.5?
>
> Regards,
> Johan
>
> _______________________________________________
> sipxtapi-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>



-- 
Keith Kyzivat

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/

Reply via email to