Forums
the next big steps - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: the next big steps (/showthread.php?tid=562)

Pages: 1 2 3 4 5


- abs1nth - 05-15-2007

joevenzon Wrote:abs1nth: okay, stupid question here, but why don't we just byte-swap the entire sound file on load (or immediately after loading)? Wouldn't that remove the need to byte swap anywhere else?

i had the same thought also and while it would be quite unpleasing (all the unnecessary work done!) i gave it a try - but couldn't get it to work this way.

anyway while testing this i had some very confusing results, and had to stop before i completely loose my mind...


- joevenzon - 05-15-2007

Maybe the "short" type is giving us trouble... what do you get for sizeof(short)? Because I depend on it being 2....


- abs1nth - 06-29-2007

joevenzon Wrote:Maybe the "short" type is giving us trouble... what do you get for sizeof(short)? Because I depend on it being 2....

it is 2 on ppc and every other architecture i can think of Wink

problem is my last ppc mac died a few weeks ago now, but in the next weeks i will have a look if i can fix the remaining problems without access to a ppc machine - hope that works out.


- joevenzon - 06-29-2007

Doh! That doesn't sound easy. It sounds like you were close, though.