List Info

Thread: Re: mediastreamer2 configure.ac patch for MacOS X.




Re: mediastreamer2 configure.ac patch for MacOS X.
user name
2008-01-02 07:03:27
Aymeric Moizard wrote:
>
> Hello again,
>
> First, I wish an happy new year to all of
linphone/mediastreamer2 users!
>
> It seems now that the native mac sound is now working
for both intel & 
> ppc
> platform. However, it doesn't look enough good to me:
>
> It must be possible to detect at run-time wheter we
should add the
> kLinearPCMFormatFlagIsBigEndian flag so that the same
code should run
> on both platform.
>
> The second driver on mac (based on portaudio does not
need this...)
>
> Does anybody have any idea about a solution?
> Hiroki: do you have any idea?
>

if (htonl(0x1234) == 0x1234)
{
  // this is big endian
}
else
{
  // little endian
}


Vadim



_______________________________________________
Linphone-developers mailing list
Linphone-developersnongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )