diff options
Diffstat (limited to 'src/qmmp/channelconverter.cpp')
| -rw-r--r-- | src/qmmp/channelconverter.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/qmmp/channelconverter.cpp b/src/qmmp/channelconverter.cpp index 857766531..3fb21082b 100644 --- a/src/qmmp/channelconverter.cpp +++ b/src/qmmp/channelconverter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2014 by Ilya Kotov * + * Copyright (C) 2014-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -24,7 +24,6 @@ ChannelConverter::ChannelConverter(ChannelMap out_map) { m_disabled = true; m_tmp_buf = 0; - m_format = Qmmp::PCM_UNKNOWM; m_frame_size = 0; m_channels = 0; m_out_map = out_map; @@ -40,9 +39,9 @@ ChannelConverter::~ChannelConverter() } } -void ChannelConverter::configure(quint32 srate, ChannelMap in_map, Qmmp::AudioFormat f) +void ChannelConverter::configure(quint32 srate, ChannelMap in_map) { - Effect::configure(srate, m_out_map, f); + Effect::configure(srate, m_out_map); if((m_disabled = (in_map == m_out_map))) return; @@ -50,7 +49,6 @@ void ChannelConverter::configure(quint32 srate, ChannelMap in_map, Qmmp::AudioFo m_channels = channels(); m_frame_size = audioParameters().sampleSize() * channels(); m_tmp_buf = new unsigned char[m_frame_size]; - m_format = f; QStringList reorderStringList; for(int i = 0; i < m_channels; ++i) |
