From 80611af3e4e73fc98838c7303459335a32690b04 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 8 Oct 2021 10:32:21 +1000 Subject: [PATCH] Clean up some incompatible code. --- miniaudio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 85707e11..fc532bcb 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -65543,7 +65543,6 @@ MA_API ma_result ma_resource_manager_process_next_job(ma_resource_manager* pReso static ma_result ma_node_read_pcm_frames(ma_node* pNode, ma_uint32 outputBusIndex, float* pFramesOut, ma_uint32 frameCount, ma_uint32* pFramesRead, ma_uint64 globalTime); - MA_API void ma_debug_fill_pcm_frames_with_sine_wave(float* pFramesOut, ma_uint32 frameCount, ma_format format, ma_uint32 channels, ma_uint32 sampleRate) { #ifndef MA_NO_GENERATION @@ -65564,7 +65563,9 @@ MA_API void ma_debug_fill_pcm_frames_with_sine_wave(float* pFramesOut, ma_uint32 (void)sampleRate; #if defined(MA_DEBUG_OUTPUT) { - #warning ma_debug_fill_pcm_frames_with_sine_wave() will do nothing because MA_NO_GENERATION is enabled. + #if _MSC_VER + #pragma message ("ma_debug_fill_pcm_frames_with_sine_wave() will do nothing because MA_NO_GENERATION is enabled.") + #endif } #endif } @@ -65573,7 +65574,6 @@ MA_API void ma_debug_fill_pcm_frames_with_sine_wave(float* pFramesOut, ma_uint32 - static ma_result ma_mix_pcm_frames_f32(float* pDst, const float* pSrc, ma_uint64 frameCount, ma_uint32 channels, float volume) { ma_uint64 iSample;