Skip to content

Commit

Permalink
fix raw-pcm mode when NOT doing DSD
Browse files Browse the repository at this point in the history
  • Loading branch information
dbry committed Sep 24, 2016
1 parent dd2fc63 commit b7f3e30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/wavpack.c
Expand Up @@ -1704,7 +1704,8 @@ static int pack_file (char *infilename, char *outfilename, char *out2filename, c
// for now, raw 1-bit PCM is only DSDIFF format

if (loc_config.qmode & QMODE_RAW_PCM)
WavpackSetFileInformation (wpc, "dff", WP_FORMAT_DFF);
if (loc_config.qmode & QMODE_DSD_AUDIO)
WavpackSetFileInformation (wpc, "dff", WP_FORMAT_DFF);

// if not in "raw" mode, process RIFF form header and set configuration

Expand Down

0 comments on commit b7f3e30

Please sign in to comment.