diff options
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r-- | src/soundmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp index fa470e3af..42a642188 100644 --- a/src/soundmanager.cpp +++ b/src/soundmanager.cpp @@ -204,7 +204,7 @@ void SoundManager::testAudio() desired.freq = config.getIntValue("audioFrequency"); desired.format = MIX_DEFAULT_FORMAT; - desired.channels = channels; + desired.channels = CAST_U8(channels); desired.samples = audioBuffer; desired.callback = nullptr; desired.userdata = nullptr; |