Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the next big steps
05-15-2007, 06:31 PM,
#61
 
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...
Reply
05-15-2007, 09:39 PM,
#62
 
Maybe the "short" type is giving us trouble... what do you get for sizeof(short)? Because I depend on it being 2....
Reply
06-29-2007, 07:27 AM,
#63
 
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.
Reply
06-29-2007, 10:13 AM,
#64
 
Doh! That doesn't sound easy. It sounds like you were close, though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)