how to detect big/little endian in a driver module?
whats the preferred macro/method for discovering if we are on a big or little-endian system from within driver code?
there are some details of the Hammerfall-DSP that need to be done differently depending on which system we're on, and using a single architecture type (__powerpc__ etc.) isn't right.
--p
At Tue, 30 Apr 2002 21:13:35 -0400,
Quoted 3 lines · Paul Davis
whats the preferred macro/method for discovering if we are on a big or little-endian system from within driver code?
SNDRV_{LITTLE|BIG}_ENDIAN defined in asound.h.
Takashi
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]