From 7f9f982ec742b7f37ba948e5dc733b3a8efe0c1a Mon Sep 17 00:00:00 2001 From: idea4good Date: Fri, 23 Aug 2019 17:16:50 +0800 Subject: [PATCH] fix build break for win --- core/adapter/audio_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/adapter/audio_win.cpp b/core/adapter/audio_win.cpp index 5be0241..6eb543a 100644 --- a/core/adapter/audio_win.cpp +++ b/core/adapter/audio_win.cpp @@ -51,7 +51,7 @@ static WAVEFORMATEX s_wav_format = { 0 }; -static int register_wav_resouce(AUDIO_TYPE type, wchar_t* wav_path) +static int register_wav_resouce(AUDIO_TYPE type, const wchar_t* wav_path) { if (s_wav_resource[type].p_data) {