Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/Qt6 - Fixing the audio settings #660

Conversation

cedrik-fuoco-adsk
Copy link
Contributor

@cedrik-fuoco-adsk cedrik-fuoco-adsk commented Jan 8, 2025

Feature/Qt6 - Fixing the audio settings

Linked issues

n/a

Describe the reason for the change.

The code that was handling the audio sample rate changes was refactored in this PR because of the Qt Audio module refactor in Qt 6. In Qt 5, you could get a list of valid sample rate from the audio device, but in Qt 6, you only get a minimum and maximum value.

With Qt6 OpenRV, the widget to change the sample rate is a SpinBox instead of a ComboBox.

What is left to do for Audio:

  • There are still some memory issues (crash) when changing audio sample rate on MacOS (tested on ARM64). This PR does not fix that.
  • Other refactor to support audio format (e.g. int8) that are not available by default in Qt 6 anymore.

Describe what you have tested and on which operating system.

Windows, MacOS and Rocky.

If possible, provide screenshots.

With Qt 6, a QSpinBox is used for the sample rate setting.

image

Signed-off-by: Cédrik Fuoco <[email protected]>
@cedrik-fuoco-adsk cedrik-fuoco-adsk merged commit 4b52c7e into AcademySoftwareFoundation:feature/qt6 Jan 21, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant