private bool initSoundSystem() { int iInputDeviceCount = m_voipclient.GetInputDeviceCount(kiSoundsystem); int iInputDeviceID = m_voipclient.GetInputDeviceID(kiSoundsystem, iInputDeviceCount - 1); if (m_voipclient.LaunchSoundSystem(kiSoundsystem, iInputDeviceID, kiOutputDeviceId, 32000, 5)) { logDebugOnly("Sound system launched\n"); updateButtonStates(); m_timer1.Start(); return(true); } else { logDebugOnly("Sound system failed to launched\n"); return(false); } }