shithub: sox

Download patch

ref: 5b71e252bc41d2fdf35c549f54c3359bd8770dcb
parent: 4d841254a948f0ed9f12ea7c77b0c1cda238b111
author: cbagwell <cbagwell>
date: Thu Oct 16 16:21:59 EDT 2008

Changing encoding list to float since thats all it support right now.

--- a/src/coreaudio.c
+++ b/src/coreaudio.c
@@ -291,8 +291,7 @@
 {
   static char const *const names[] = { "coreaudio", NULL };
   static unsigned const write_encodings[] = {
-    SOX_ENCODING_SIGN2, 16, 8, 0,
-    SOX_ENCODING_UNSIGNED, 16, 8, 0,
+    SOX_ENCODING_FLOAT, 32, 0,
     0};
   static sox_format_handler_t const handler = {SOX_LIB_VERSION_CODE,
     "Mac AudioCore device driver",