problem with PsychPortAudio

Hi everyone


I've started using "Psychtoolbox-3-PTB_Beta-2019-08-07_V3.0.16" and since then I cant use PsychPortAudio, I', getting the error below. Weird thing is that when I setup Psychtoolbox with "SetupPsychtoolbox" I can use PsychPortAudio only once and after that, I get this error. 

any Idea how can I fix it?

Thanks


PTB-ERROR: Failed to open audio device -1. PortAudio reports this error: Invalid device 

INTERNAL PSYCHTOOLBOX ERROR

error:                PsychError_system

general description:  Error reported by a system call

specific description: Failed to open PortAudio audio device.

module name:          PsychPortAudio

subfunction call:     Open

file name:            C:\Users\Mario Kleiner\Documents\GitHub\Psychtoolbox-3\PsychSourceGL\Source\Common\PsychPortAudio\PsychPortAudio.c

function name:        PSYCHPORTAUDIOOpen

line number:          2889