Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PsychPortAudio/Win: Use auto samplerate conversion under WASAPI share…
…d mode. WASAPI shared mode only supports one fixed sample rate, the rate of the system mixer, by default. Request use of system automatic sample format and sample rate conversion in reqlatencyclass 0 and 1, ie. if shared audio mode is used, to prevent this limitation from aborting scripts. This requires Windows 7 or later (a given), and Portaudio V19.7.0 or later, otherwise the new option will be silently ignored. We do ship that version or later, so should be fine, unless somebody uses an override portaudio dll from Matlab, whose version I don't know from the top of my head. -> Rebuild and test pending. Cfe. following issue where this would likely have helped: https://psychtoolbox.discourse.group/t/ptb-thinks-usb-sound-card-doesnt-support-44100hz/5324
- Loading branch information