From 9a647808e172b4341b02899cc9185e8fd54369ff Mon Sep 17 00:00:00 2001 From: negier <1208883805@qq.com> Date: Mon, 9 Dec 2019 23:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/pcm_mono_to_stereo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/pcm_mono_to_stereo.c b/Code/pcm_mono_to_stereo.c index 89f58b9..bd0d07b 100644 --- a/Code/pcm_mono_to_stereo.c +++ b/Code/pcm_mono_to_stereo.c @@ -19,7 +19,7 @@ void pcmMonoToStereo(const char* pcmPath,const char* newPcmPath){ return; } - FILE* newPcm = fopen(newPcmPath,"w"); + FILE* newPcm = fopen(newPcmPath,"wb"); int p; int mark = 0;