Skip to content

BF: Fixed crash when mono is specified if the microphone device supports stereo as default#6564

Merged
TEParsons merged 2 commits intopsychopy:releasefrom
mdcutone:release-bf-mic-mono-error
Jun 14, 2024
Merged

BF: Fixed crash when mono is specified if the microphone device supports stereo as default#6564
TEParsons merged 2 commits intopsychopy:releasefrom
mdcutone:release-bf-mic-mono-error

Conversation

@mdcutone
Copy link
Copy Markdown
Member

This PR adds checks to mic settings to ensure they are compatible with the default for the mic. If not, we try and find a device config that does match those settings. If that doesn't work, we override the user settings with a warning to allow the program to continue, using the default mic settings recommended by the audio library.

It might be best to either grey out the mic settings when default is specified, or ensure that we are always getting the default mic and only populating fields with valid values associated with it.

@TEParsons TEParsons merged commit ae8fab2 into psychopy:release Jun 14, 2024
@peircej peircej added the 🐞 bug Issue describes a bug (crash or error) or undefined behavior. label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Issue describes a bug (crash or error) or undefined behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants