aboutsummaryrefslogtreecommitdiffstats
path: root/core/converter.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-11-13 14:10:15 -0800
committerChris Robinson <[email protected]>2022-11-13 14:10:15 -0800
commitc45843964bc461cbf5f99ec651bd8c07fbb14b35 (patch)
tree72e3195a02f4847e507d788c582418b03b67ac88 /core/converter.cpp
parent156f3b6ff5e1e686c8b8f6584a6a1625dcc5c365 (diff)
Change a function to a static method
Diffstat (limited to 'core/converter.cpp')
-rw-r--r--core/converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/converter.cpp b/core/converter.cpp
index 69e0d8dd..75c37149 100644
--- a/core/converter.cpp
+++ b/core/converter.cpp
@@ -156,7 +156,7 @@ void Multi2Mono(uint chanmask, const size_t step, const float scale, float *REST
} // namespace
-SampleConverterPtr CreateSampleConverter(DevFmtType srcType, DevFmtType dstType, size_t numchans,
+SampleConverterPtr SampleConverter::Create(DevFmtType srcType, DevFmtType dstType, size_t numchans,
uint srcRate, uint dstRate, Resampler resampler)
{
if(numchans < 1 || srcRate < 1 || dstRate < 1)