Hi.
On 2008/01/01, at 22:55, Aymeric Moizard wrote:
>
> Hiroki, simon,
>
> good news: the native macosx stuff is working for me
now. I had to
> remove the bigendian flags
(kLinearPCMFormatFlagIsBigEndian) when
> compiling on
> my intel.
>
Oh. Good infomation for me.
> However, I'm sure there is some way to get common code
to work for both
> platform without such #ifdef?
>
> The below patch has been merged.
>
This patch is good for my Mac mini(PPC G4) XCode 1.1(gcc
3.3) on MacOS
10.3.9.
> Tks Hiroki for your help.
> Aymeric
>
> Index: src/macsnd.c
>
============================================================
=======
> RCS file:
/cvsroot/linphone/linphone/mediastreamer2/src/macsnd.c,v
> retrieving revision 1.1
> diff -r1.1 macsnd.c
> 480c480,483
> < outASBD.mFormatFlags =
kAudioFormatFlagIsSignedInteger
> | kAudioFormatFlagIsPacked |
kLinearPCMFormatFlagIsBigEndian;
> ---
>> outASBD.mFormatFlags =
kAudioFormatFlagIsSignedInteger
>> | kAudioFormatFlagIsPacked;
>> #if __BIG_ENDIAN__
>> outASBD.mFormatFlags |=
kLinearPCMFormatFlagIsBigEndian;
>> #endif
> 525c528,531
> < inASBD.mFormatFlags =
kAudioFormatFlagIsSignedInteger
> | kAudioFormatFlagIsPacked |
kLinearPCMFormatFlagIsBigEndian;
> ---
>> inASBD.mFormatFlags =
kAudioFormatFlagIsSignedInteger |
>> kAudioFormatFlagIsPacked;
>> #if __BIG_ENDIAN__
>> inASBD.mFormatFlags |=
kLinearPCMFormatFlagIsBigEndian;
>> #endif
>
>
> Aymeric MOIZARD / ANTISIP
> amsip - http://www.antisip.com
> osip2 - http://www.osip.org
> eXosip2 - http://sa
vannah.nongnu.org/projects/exosip/
>
>
Sorry addition one Mac issue. Now mscommon.c use
NSApplicationLoad().
I think not depend mediastreamer library on Cocoa. Becouse
of console
apprication (linphonec) is not Cocoa apprication. Can you
remove
NSApplicationLoad() and include from mscommon.c?
Regards,
Hiroki Mori
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|