diff --git a/Psychtoolbox/PsychDemos/BasicAMAndMixScheduleDemo.m b/Psychtoolbox/PsychDemos/BasicAMAndMixScheduleDemo.m index f12da2eaa..fcb028e2c 100644 --- a/Psychtoolbox/PsychDemos/BasicAMAndMixScheduleDemo.m +++ b/Psychtoolbox/PsychDemos/BasicAMAndMixScheduleDemo.m @@ -42,7 +42,7 @@ function BasicAMAndMixScheduleDemo(device) nrchannels = 2; sugLat = []; -if IsARM +if IsARM && IsLinux % ARM processor, probably the RaspberryPi SoC. The Pi can not quite handle the % low latency settings of a desktop PC, so be more lenient: sugLat = 0.025; diff --git a/Psychtoolbox/PsychDemos/BasicSoundScheduleDemo.m b/Psychtoolbox/PsychDemos/BasicSoundScheduleDemo.m index 2d3bdad12..91a530a79 100644 --- a/Psychtoolbox/PsychDemos/BasicSoundScheduleDemo.m +++ b/Psychtoolbox/PsychDemos/BasicSoundScheduleDemo.m @@ -86,7 +86,7 @@ function BasicSoundScheduleDemo(wavfilenames, device) InitializePsychSound; suggestedLatencySecs = []; -if IsARM +if IsARM && IsLinux % ARM processor, probably the RaspberryPi SoC. This can not quite handle the % low latency settings of a Intel PC, so be more lenient: suggestedLatencySecs = 0.025; diff --git a/Psychtoolbox/PsychTests/PsychPortAudioDataPixxTimingTest.m b/Psychtoolbox/PsychTests/PsychPortAudioDataPixxTimingTest.m index 91e075b78..f92beab4f 100644 --- a/Psychtoolbox/PsychTests/PsychPortAudioDataPixxTimingTest.m +++ b/Psychtoolbox/PsychTests/PsychPortAudioDataPixxTimingTest.m @@ -126,7 +126,7 @@ function PsychPortAudioDataPixxTimingTest(waitTime, exactstart, deviceid, latbia buffersize = 0; % Pointless to set this. Auto-selected to be optimal. suggestedLatencySecs = []; -if IsARM +if IsARM && IsLinux % ARM processor, probably the RaspberryPi SoC. This can not quite handle the % low latency settings of a Intel PC, so be more lenient: suggestedLatencySecs = 0.025; diff --git a/Psychtoolbox/PsychTests/PsychPortAudioTimingTest.m b/Psychtoolbox/PsychTests/PsychPortAudioTimingTest.m index d0600312b..5f1a7161d 100644 --- a/Psychtoolbox/PsychTests/PsychPortAudioTimingTest.m +++ b/Psychtoolbox/PsychTests/PsychPortAudioTimingTest.m @@ -128,7 +128,7 @@ function PsychPortAudioTimingTest(exactstart, deviceid, latbias, waitframes, use buffersize = 0; % Pointless to set this. Auto-selected to be optimal. suggestedLatencySecs = []; -if IsARM +if IsARM && IsLinux % ARM processor, probably the RaspberryPi SoC. This can not quite handle the % low latency settings of a Intel PC, so be more lenient: suggestedLatencySecs = 0.025;