diff options
author | hartwork <hartwork@bc0edfbe-c936-4687-b64d-f70bc3985e72> | 2009-03-17 20:27:47 +0300 |
---|---|---|
committer | hartwork <hartwork@bc0edfbe-c936-4687-b64d-f70bc3985e72> | 2009-03-17 20:27:47 +0300 |
commit | a151843d4065bc8202b13d58b80f7ef2745e7cc8 (patch) | |
tree | 8ac2aaf35f65e1215a0d757067658fe3e629f484 | |
parent | f0682af6021a9964f3dea49c8da5a459e4034feb (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.c | 6 |
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() */ |