m_channels = (type == MICROPHONE) ? 1 : 2;