summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorUwe Klotz <uwe_klotz@web.de>2014-11-15 18:09:17 +0100
committerUwe Klotz <uwe_klotz@web.de>2014-11-15 19:42:51 +0100
commit33bc828f5c4b0dcdce17727f962ed8078daa23ce (patch)
tree6e3006f18399e6ac9c9c28d77d2dadab2254fb41 /plugins
parentbebae2b489d2d11b4e204ea72fcb5e4fcfde813a (diff)
SampleUtil: Rename the new functions
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;