aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 9891fec5..8109f202 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2648,6 +2648,8 @@ void AllocateVoices(ALCcontext *context, ALsizei num_voices, ALsizei old_sends)
voice->loop_buffer.store(old_voice->loop_buffer.load(std::memory_order_relaxed),
std::memory_order_relaxed);
+ voice->Frequency = old_voice->Frequency;
+ voice->Channels = old_voice->Channels;
voice->NumChannels = old_voice->NumChannels;
voice->SampleSize = old_voice->SampleSize;