From e47781f92fb1dfe17c9d90dfd67e321e6de24a26 Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 31 Mar 2022 11:13:57 -0700 Subject: [PATCH] `SoundTrack::Init`: Remove unused `audio_channels` arg Missed this when reviewing the FAudio PR, so I'll just remove it now. --- desktop_version/src/Music.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop_version/src/Music.cpp b/desktop_version/src/Music.cpp index 7578b921..438454a0 100644 --- a/desktop_version/src/Music.cpp +++ b/desktop_version/src/Music.cpp @@ -174,7 +174,7 @@ end: } } - static void Init(int audio_rate, int audio_channels) + static void Init(int audio_rate) { if (voices == NULL) { @@ -594,7 +594,7 @@ void musicclass::init(void) return; } - SoundTrack::Init(44100, 2); + SoundTrack::Init(44100); soundTracks.push_back(SoundTrack( "sounds/jump.wav" )); soundTracks.push_back(SoundTrack( "sounds/jump2.wav" ));