mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-16 10:47:21 -05:00
Fix STDIN, file playback, and WAV file creation
Fix STDIN and file playback set rate out to 8000 when calling for any of these methods
This commit is contained in:
@@ -284,7 +284,7 @@ openWavOutFile (dsd_opts * opts, dsd_state * state)
|
||||
// opts->wav_out_f = fopen (opts->wav_out_file, "w");
|
||||
|
||||
SF_INFO info;
|
||||
info.samplerate = 8000;
|
||||
info.samplerate = 8000; //8000
|
||||
info.channels = 1;
|
||||
info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16 | SF_ENDIAN_LITTLE;
|
||||
opts->wav_out_f = sf_open (opts->wav_out_file, SFM_WRITE, &info);
|
||||
|
||||
Reference in New Issue
Block a user