e482221bde
work on all architectures. Tested on pmax, i386 and alpha (no big-endian machines!) and gives identical results, although not identical to the binary-only 0.76. If there's any big-endian people who want to test this, please let me know. Lots of patches because 64-bit longs just "Don't Work(tm)" - just use ints everywhere. I'm in communication with the author on how to fix this at his end.
22 lines
670 B
Text
22 lines
670 B
Text
$NetBSD: patch-ac,v 1.1 1999/09/13 03:33:34 simonb Exp $
|
|
|
|
--- codec.c.orig Sat Jul 24 07:50:33 1999
|
|
+++ codec.c Mon Sep 13 12:52:18 1999
|
|
@@ -54,7 +54,7 @@
|
|
double avg_slots_per_frame, frac_SpF, slot_lag;
|
|
int stereo, error_protection;
|
|
|
|
- unsigned long samplesPerFrame;
|
|
+ unsigned int samplesPerFrame;
|
|
|
|
|
|
extern int fInit_L3psycho_anal;
|
|
@@ -227,7 +227,7 @@
|
|
}
|
|
|
|
|
|
-void rebuffer_audio( short buffer[2][1152], short * insamp, unsigned long samples_read, int stereo );
|
|
+void rebuffer_audio( short buffer[2][1152], short * insamp, unsigned int samples_read, int stereo );
|
|
|
|
/*____ codecEncodeChunk() _____________________________________________________*/
|
|
|