-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/Qt6 - Fixing the audio settings (#660)
### 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](https://github.com/user-attachments/assets/eff2580e-a060-4d87-bbd9-7aa6cdbda3c5) --------- Signed-off-by: Cédrik Fuoco <[email protected]> Signed-off-by: Cédrik Fuoco <[email protected]>
- Loading branch information
1 parent
76e4fc3
commit 4b52c7e
Showing
12 changed files
with
5,644 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.