Merge pull request #856 from Psychtoolbox-3/master #283
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PTB beta update Psychtoolbox 3.0.20.1 "Appletizer SP1"
Compatibility changes wrt. Psychtoolbox 3.0.20.0:
Highlights:
macOS:
Psychtoolbox was built and tested against native Matlab R2024b and against native Octave 9.3 from HomeBrew, on macOS 13.7.1 Ventura for Intel Macs, and on macOS 14.5 Sonoma for Apple Silicon Macs.
Try to execute same code path on Apple Silicon macOS, regardless if running under native Matlab/Octave for Apple Silicon ARM, or running under Intel Matlab/Octave via Rosetta2 emulation. Our license management aggregate stats tell us that a non-trivial fraction of users still use Matlab for Intel Macs via Rosetta2 emulation on Apple Silicon, instead of the recommended native Matlab/Octave for Apple Silicon. This would cause PTB to misbehave, as it would think it runs on an Intel Mac and acts accordingly, instead of adapting to the special snowflake that is macOS on Apple Silicon. This will especially cause trouble with visual stimulation timing and some visual stimulus presentation. Note that this fix tries to fix this, but Psychtoolbox is not and will not be tested for proper compatibility and quality when running under Matlab/Octave for Intel via Rosetta2 on Apple Silicon! Switching to native Matlab/Octave for Apple Silicon / ARM is strongly recommended.
Audio demos and tests: Request standard latency instead of larger latency on Apple Silicon. The lose latency requirement was only meant to accomodate RaspberryPi's, not Apple Silicon.