shithub: cstory

Download patch

ref: f9993b264c49452919da40b9695b39cc452421fa
parent: 5b4778fb06583fd1406769fcada9961e9c4337de
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Oct 11 17:18:52 EDT 2020

Fix dumb typo

--- a/src/Backends/Audio/SoftwareMixer/3DS.cpp
+++ b/src/Backends/Audio/SoftwareMixer/3DS.cpp
@@ -27,7 +27,7 @@
 static Thread audio_thread;
 static bool audio_thread_die;
 
-static void FullBuffer(short *stream, size_t frames_total)
+static void FillBuffer(short *stream, size_t frames_total)
 {
 	size_t frames_done = 0;
 
@@ -72,7 +72,7 @@
 	{
 		if (dsp_buffers[current_dsp_buffer].status == NDSP_WBUF_DONE)
 		{
-			FullBuffer(dsp_buffers[current_dsp_buffer].data_pcm16, dsp_buffers[current_dsp_buffer].nsamples);
+			FillBuffer(dsp_buffers[current_dsp_buffer].data_pcm16, dsp_buffers[current_dsp_buffer].nsamples);
 
 			ndspChnWaveBufAdd(0, &dsp_buffers[current_dsp_buffer]);
 
@@ -169,7 +169,7 @@
 
 bool SoftwareMixerBackend_Start(void)
 {
-	FullBuffer(stream_buffer, FRAMES_PER_BUFFER * 2);
+	FillBuffer(stream_buffer, FRAMES_PER_BUFFER * 2);
 
 	ndspChnWaveBufAdd(0, &dsp_buffers[0]);
 	ndspChnWaveBufAdd(0, &dsp_buffers[1]);