Page MenuHomeswift

Troubleshoot voice (no ATC, no MIC, no sound, sample rates, WASAPI)
Updated 31 Days AgoPublic

  • swift has no hot plug and play yet, the sound hardware needs to be plugged in/on before starting swift
  • is the device correctly selected in the settings? swift audio
  • make sure the swift volume ist 100 and voice not muted in swift
  • check your PTT button
  • on MacOSX make sure mic privilege is granted No sound on macOS (loopback not working)
  • Linux: We read keyboard and joystick stuff from /dev/input/event* and js*. Those files have to be readable by your user. Typically they are owned by group input or such so if you add your user to that group then it will work.
  • Windows: Microphone not working on Windows
  • Is loopback working? If not, this would mean some issue of swift and your hardware. You would need to have RX2 enabled to hear loopback
  • Make sure TX/RX (transmit/receive are enabled). If you sync. swift with your aircraft cockpit and your cockpit COM units are disabled, this can be your COM unit is "disabled". See Integrate COM unit, sync with cockpit COM unit.

Sample rate

swift uses the following values for output and tries to find the closest audio setup on your machine. It might help to adjust your sample rates (Google for "Windows Audio sample rate").

outputFormat.setSampleRate(48000);
outputFormat.setChannelCount(1);
outputFormat.setSampleSize(32);
outputFormat.setSampleType(QAudioFormat::Float);
outputFormat.setByteOrder(QAudioFormat::LittleEndian);
outputFormat.setCodec("audio/pcm");
inputFormat.setSampleRate(m_sampleRate); // normally 48000
inputFormat.setChannelCount(1);
inputFormat.setSampleSize(16);
inputFormat.setSampleType(QAudioFormat::SignedInt);
inputFormat.setByteOrder(QAudioFormat::LittleEndian);
inputFormat.setCodec("audio/pcm");

Changing the driver (Windows only)

swift for Windows comes with two audio plugins, WASAPI and a Windows plugin. You can remove one of those and try which works better for you. Just move them to another directory (outside swift), so you can copy them back if needed.

  • Go into your swift installation bin path (e.g. C:\Program Files\swift-0.9.3-64bit\bin).
  • Change to subfolder audio
  • Find dlls containing "wasapi" or "windows"
  • Move them to a backup directory outside swift
  • So as a result, you SHALL have only the "wasapi" or the "windows" ones in the audio subdir

Until swift 0.9.2

  • do you see that you are connected to a voice room?
  • did you accidentally tick override in the voice room, untick that
  • is the voice UDP port enabled in your firewall, otherwise enable it or change it. You can use a different port if you need to
  • some people have had problems with a used port. They have used another client before, then changed to swift and voice was not possible before a restart (as the voice port was "busy")
Last Author
kbasan
Last Edited
Jan 21 2020, 5:13 PM

Event Timeline

kbasan created this document.Apr 13 2019, 5:19 PM
kbasan edited the content of this document. (Show Details)
kbasan edited the content of this document. (Show Details)Apr 13 2019, 5:41 PM
kbasan added a project: swift pilot client.
kbasan edited the content of this document. (Show Details)Apr 13 2019, 5:58 PM
kbasan edited the content of this document. (Show Details)May 18 2019, 4:48 PM
kbasan edited the content of this document. (Show Details)Jun 11 2019, 3:07 PM
kbasan edited the content of this document. (Show Details)Jun 25 2019, 1:59 PM
kbasan edited the content of this document. (Show Details)Jul 10 2019, 12:17 PM
kbasan edited the content of this document. (Show Details)Jul 22 2019, 6:30 PM
kbasan edited the content of this document. (Show Details)Aug 5 2019, 11:34 PM
kbasan edited the content of this document. (Show Details)Oct 19 2019, 11:12 AM
kbasan edited the content of this document. (Show Details)Dec 11 2019, 9:57 PM
kbasan edited the content of this document. (Show Details)
kbasan edited the content of this document. (Show Details)Dec 11 2019, 10:02 PM
kbasan edited the content of this document. (Show Details)Jan 21 2020, 4:55 PM
kbasan changed the title from Troubleshoot voice (no ATC, no MIC, no sound) to Troubleshoot voice (no ATC, no MIC, no sound, sample rates, WASAPI).Jan 21 2020, 5:02 PM
kbasan edited the content of this document. (Show Details)
kbasan edited the content of this document. (Show Details)Jan 21 2020, 5:13 PM