aboutsummaryrefslogtreecommitdiffstats
path: root/alc/converter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/converter.cpp')
-rw-r--r--alc/converter.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/alc/converter.cpp b/alc/converter.cpp
index de61415a..7e3c17cc 100644
--- a/alc/converter.cpp
+++ b/alc/converter.cpp
@@ -327,14 +327,6 @@ ALuint SampleConverter::convert(const ALvoid **src, ALuint *srcframes, ALvoid *d
}
-ChannelConverterPtr CreateChannelConverter(DevFmtType srcType, DevFmtChannels srcChans, DevFmtChannels dstChans)
-{
- if(srcChans != dstChans && !((srcChans == DevFmtMono && dstChans == DevFmtStereo) ||
- (srcChans == DevFmtStereo && dstChans == DevFmtMono)))
- return nullptr;
- return al::make_unique<ChannelConverter>(srcType, srcChans, dstChans);
-}
-
void ChannelConverter::convert(const ALvoid *src, ALfloat *dst, ALuint frames) const
{
if(mSrcChans == DevFmtStereo && mDstChans == DevFmtMono)