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

Recording: with empty config, save default split size immediately #13304

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented May 30, 2024

@ronso0 ronso0 marked this pull request as ready for review May 30, 2024 00:59
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix. Can you please also adjust this:

return SIZE_650MB;

A common class for all the recording defaults would be also nice but probably out of the scope of this bug-fix PR:
"preferences/replaygainsettings.cpp"

@ronso0 ronso0 force-pushed the rec-pref-split-size branch from a885d7d to 6eb76bc Compare May 30, 2024 11:09
@ronso0
Copy link
Member Author

ronso0 commented May 30, 2024

Oh, right.
Done.

//Use max RIFF size (4GB) as default index, since usually people don't want to split.
comboBoxSplitting->setCurrentIndex(4);
// Save the value immediately, otherwise RecordingManager would fall back
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment is now outdated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, well, I overlooked that we actually only need to use the same default in both unit.
Saving to the config doesn't hurt though.

and adjust the default in RecordingManager
@ronso0 ronso0 force-pushed the rec-pref-split-size branch from 6eb76bc to 68f27cf Compare June 1, 2024 22:48
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you.

@daschuer daschuer merged commit 2770cc4 into mixxxdj:2.4 Jun 3, 2024
14 checks passed
@ronso0 ronso0 deleted the rec-pref-split-size branch June 3, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants