| Thanks; sfont.c is a bit complicated, we've been trying to tame it for many years. I am not surprised you're finding things like that in it.
Victor
On 12 Apr 2012, at 05:06, Felipe Sateler wrote:
> While moving stuff to config.h I just realized there is
> WORDS_BIGENDIAN... which made me remember this blog post by Rob Pike:
>
> http://commandcenter.blogspot.com/2012/04/byte-order-fallacy.html
>
> TL;DR: If the data stream encodes values with byte order B, then the
> algorithm to decode the value on computer with byte order C should be
> about B, not about the relationship between B and C.
>
> Some of the code looks a bit hairy (byte-swapping a formatted string
> in sfont.c!), so I'm not touching it. Letting you know just in case
>
> --
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |