diff options
author | Chris Robinson <[email protected]> | 2022-11-13 14:10:15 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-11-13 14:10:15 -0800 |
commit | c45843964bc461cbf5f99ec651bd8c07fbb14b35 (patch) | |
tree | 72e3195a02f4847e507d788c582418b03b67ac88 /core/converter.cpp | |
parent | 156f3b6ff5e1e686c8b8f6584a6a1625dcc5c365 (diff) |
Change a function to a static method
Diffstat (limited to 'core/converter.cpp')
-rw-r--r-- | core/converter.cpp | 2 |
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) |