ref: 914153d3c66a50ad3cc64834ee1f7755cb2eb9d5
parent: 3971c45ec24aa0c48fa2c7ce4441d3874b7c7f08
author: cbagwell <cbagwell>
date: Thu Jul 5 21:03:11 EDT 2007
Make rabbit effect optional again. Make sunaudio little endian.
--- a/src/rabbit.c
+++ b/src/rabbit.c
@@ -19,6 +19,8 @@
#include "sox_i.h"
+#ifdef HAVE_SAMPLERATE_H
+
#include <limits.h>
#include <stdlib.h>
#include <string.h>
@@ -191,3 +193,5 @@
return &handler;
}
+
+#endif /* HAVE_SAMPLERATE */
--- a/src/sunaudio.c
+++ b/src/sunaudio.c
@@ -314,7 +314,7 @@
static sox_format_handler_t sox_sunau_format = {
names,
- SOX_FILE_DEVICE,
+ SOX_FILE_DEVICE | SOX_FILE_LIT_END,
sox_sunstartread,
sox_rawread,
sox_rawstopread,