Use libsndfile for wav output as well

This commit is contained in:
balr0g
2013-08-08 10:45:56 -04:00
parent e3bafe96e9
commit de3e5e7f60
6 changed files with 58 additions and 73 deletions

View File

@@ -84,7 +84,7 @@ getSymbol (dsd_opts * opts, dsd_state * state, int have_sync)
else {
result = sf_read_short(opts->audio_in_file, &sample, 1);
if(result == 0) {
exit(0);
cleanupAndExit (opts, state);
}
}
// printf("res: %zd\n, offset: %lld", result, sf_seek(opts->audio_in_file, 0, SEEK_CUR));