search for: sowt

Displaying 2 results from an estimated 2 matches for "sowt".

Did you mean: soft
2006 May 26
2
question about coding
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
2003 Aug 30
1
Fink's vorbis-tools patch
...ar buf2[8]; aiff_fmt format; aifffile *aiff = malloc(sizeof(aifffile)); + + unsigned int bigendian = 1; if(buf[11]=='C') aifc=1; @@ -258,6 +260,10 @@ fprintf(stderr, _("Warning: AIFF-C header truncated.\n")); return 0; } + else if( ! memcmp(buffer+18, "sowt", 4) ) + { + bigendian = 0; + } else if(memcmp(buffer+18, "NONE", 4)) { fprintf(stderr, _("Warning: Can't handle compressed AIFF-C\n")); @@ -301,7 +307,7 @@ aiff->channels = format.channels; aiff->samplesize = format.samplesize; aiff->to...