Version 2 (modified by bennylp, 18 years ago) (diff)


Troubleshooting Audio Problem: Check that Correct Device is Used

Of course some audio problems occur simply because the wrong device is being used by the application. You can inspect which sound device is used by pjsua by setting the console's log level to 5 with --app-log-level 5 command line argument. Then when the application starts, you should see something like this:

 15:05:37.978      pasound.c Opened device Primary Sound Capture Driver(Windows 
DirectSound)/Primary Sound Driver(Windows DirectSound) for recording and playback, 
sample rate=16000, ch=1, bits=16, 160 samples per frame, input latency=0 ms,
output latency=120 ms

There it displays which input/output device is used, along with other useful information.