John Miles wrote:> You'll definitely have to encode in little-endian form. PCM audio is always > little-endian, to the best of my knowledge. I have never seen any > big-endian audio data files.Try AIFF, AU and IFF just for starters. They are definietly not the only ones. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn
> Try AIFF, AU and IFF just for starters. They are definietly not the > only ones.In fact, it is not legal for AIFF (as opposed to AIFC/AIFF-C) to have anything but big-endian PCM data. Uncompressed little-endian AIFF files must be stored as AIFC with "compression" type 'sowt' (Twos spelled backwards). This very thing bit me once, right Erik? =Rob=
Malcolm Baldridge wrote:> > Try AIFF, AU and IFF just for starters. They are definietly not the > > only ones. > > In fact, it is not legal for AIFF (as opposed to AIFC/AIFF-C) to have anything > but big-endian PCM data. Uncompressed little-endian AIFF files must be stored > as AIFC with "compression" type 'sowt' (Twos spelled backwards). > > This very thing bit me once, right Erik?You are indeed correct. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ Traditional capital was stuck in a company's bank account or investments. It could not walk away in disgust. Human capital has free will. It can walk out the door; traditional capital cannot.