shithub: sox

Download patch

ref: 4c5aa45bf92cc988aa9d638febe41d92e071c629
parent: 4233f324397e776889f343983f9e892dc595b720
author: cbagwell <cbagwell>
date: Mon Jul 9 23:09:39 EDT 2007

Backing out dead code.

--- a/src/oss.c
+++ b/src/oss.c
@@ -47,12 +47,6 @@
     int tmp, rc;
     sox_fileinfo_t *file = (sox_fileinfo_t *)ft->priv;
 
-    /* If user doesn't specify anything then prefer writing in
-     * machine endian format.
-     */
-    if (ft->signal.reverse_bytes == SOX_OPTION_DEFAULT)
-        ft->signal.reverse_bytes = SOX_OPTION_NO;
-
     if (ft->signal.rate == 0.0) ft->signal.rate = 8000;
     if (ft->signal.size == -1) ft->signal.size = SOX_SIZE_BYTE;
     if (ft->signal.size == SOX_SIZE_BYTE) {