From 3f21578ff5724839c1ddaea3a19df8596356c5f2 Mon Sep 17 00:00:00 2001 From: David Bryant Date: Fri, 26 Aug 2016 21:24:54 -0700 Subject: [PATCH] allow Cool Edit / Audition filter to read DSD with 8x decimation --- audition/cool_wv4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/audition/cool_wv4.c b/audition/cool_wv4.c index 988133f6..099bcdf7 100644 --- a/audition/cool_wv4.c +++ b/audition/cool_wv4.c @@ -27,6 +27,7 @@ // Version 2.12 - May 10, 2015 (library ver 4.75.0) // Version 2.13 - Sept 29, 2015 (library ver 4.75.2) // Version 2.14 - Mar 28, 2016 (library ver 4.80.0) +// Version 2.15a - Aug 26, 2016 (library ver 5.0.0-alpha4, DSD read with 8x decimation) #include #include @@ -537,7 +538,7 @@ HANDLE PASCAL OpenFilterInput (LPSTR lpszFilename, long *lplSamprate, CLEAR (*in); - wpc = in->wpc = WavpackOpenFileInput (lpszFilename, error, OPEN_WVC | OPEN_WRAPPER | OPEN_NORMALIZE, 15); + wpc = in->wpc = WavpackOpenFileInput (lpszFilename, error, OPEN_WVC | OPEN_WRAPPER | OPEN_NORMALIZE | OPEN_DSD_AS_PCM, 15); if (!wpc) { free (in); @@ -921,7 +922,7 @@ static BOOL CALLBACK WavPackDlgProc (HWND hDlg, UINT message, WPARAM wParam, LPA case IDABOUT: MessageBox (hDlg, - "WavPack Filter Version 2.14\n" + "WavPack Filter Version 2.15a\n" "Copyright (c) 2016 David Bryant ", "About WavPack Filter", MB_OK); break; }