summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/soundsourcem4a/soundsourcem4a.cpp2
-rw-r--r--plugins/soundsourcewv/soundsourcewv.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/soundsourcem4a/soundsourcem4a.cpp b/plugins/soundsourcem4a/soundsourcem4a.cpp
index 6b2e5b2d09..963a4156c9 100644
--- a/plugins/soundsourcem4a/soundsourcem4a.cpp
+++ b/plugins/soundsourcem4a/soundsourcem4a.cpp
@@ -149,7 +149,7 @@ unsigned SoundSourceM4A::read(volatile unsigned long size, const SAMPLE* destina
// At this point *destination should be filled. If mono : double all samples
// (L => R)
if (m_iChannels == 1) {
- SampleUtil::widenMonoToStereo(as_buffer, total_bytes_decoded / 2);
+ SampleUtil::doubleMonoToDualMono(as_buffer, total_bytes_decoded / 2);
}
// Tell us about it only if we end up decoding a different value
diff --git a/plugins/soundsourcewv/soundsourcewv.cpp b/plugins/soundsourcewv/soundsourcewv.cpp
index d7df57a669..87ba22b64b 100644
--- a/plugins/soundsourcewv/soundsourcewv.cpp
+++ b/plugins/soundsourcewv/soundsourcewv.cpp
@@ -105,7 +105,7 @@ unsigned SoundSourceWV::read(volatile unsigned long size, const SAMPLE* destinat
}
if (m_iChannels==1) { //if MONO : expand array to double it's size; see ssov.cpp
- SampleUtil::widenMonoToStereo(dest, sampsread / 2);
+ SampleUtil::doubleMonoToDualMono(dest, sampsread / 2);
}
return sampsread;