Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alexmarsev/libbs2b.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhartwork <hartwork@bc0edfbe-c936-4687-b64d-f70bc3985e72>2009-03-17 20:27:47 +0300
committerhartwork <hartwork@bc0edfbe-c936-4687-b64d-f70bc3985e72>2009-03-17 20:27:47 +0300
commita151843d4065bc8202b13d58b80f7ef2745e7cc8 (patch)
tree8ac2aaf35f65e1215a0d757067658fe3e629f484
parentf0682af6021a9964f3dea49c8da5a459e4034feb (diff)
Stupid compile fix; Boris, please have a look
git-svn-id: svn://svn.code.sf.net/p/bs2b/code/trunk/libbs2b@68 bc0edfbe-c936-4687-b64d-f70bc3985e72
-rw-r--r--src/bs2bconvert.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bs2bconvert.c b/src/bs2bconvert.c
index 90a6308..fd0c32e 100644
--- a/src/bs2bconvert.c
+++ b/src/bs2bconvert.c
@@ -194,7 +194,13 @@ static void copy_data( SNDFILE *outfile, SNDFILE *infile, t_bs2bdp bs2bdp )
{
readcount = ( int )sf_read_double( infile, data, BUFFER_LEN );
if( readcount < 2 ) break;
+
+#if ((BS2B_VERSION_MAJOR != 2) || (BS2B_VERSION_MINOR != 3) || (BS2B_VERSION_RELEASE != 0))
+# error Stupid compile fix by sping, proper fix needed before next release
bs2b_cross_feed_dne( bs2bdp, data, readcount / 2 );
+#else
+ bs2b_cross_feed_dle( bs2bdp, data, readcount / 2 );
+#endif
sf_write_double( outfile, data, readcount );
}
} /* copy_data() */