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

Mixer refactoring & cleanup #2787

Merged
merged 13 commits into from Aug 28, 2023
Merged

Mixer refactoring & cleanup #2787

merged 13 commits into from Aug 28, 2023

Conversation

johnnovak
Copy link
Member

@johnnovak johnnovak commented Aug 25, 2023

Just some cleanup in preparation for the two mixer tickets in my queue. No functional changes.

Copy link
Member

@kcgen kcgen left a comment

Choose a reason for hiding this comment

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

We're pretty close to being able to add the narrowing checks to mixer.cpp:

#include "checks.h"
CHECK_NARROWING();

I think there's 6 remaining issues - could go for that too, if you like :-)

include/mixer.h Outdated Show resolved Hide resolved
include/mixer.h Show resolved Hide resolved
src/hardware/mixer.cpp Outdated Show resolved Hide resolved
@johnnovak
Copy link
Member Author

We're pretty close to being able to add the narrowing checks to mixer.cpp:

#include "checks.h"
CHECK_NARROWING();

I think there's 6 remaining issues - could go for that too, if you like :-)

Oh yeah, I'll just do it, thanks for reminding.

@johnnovak johnnovak force-pushed the jn/mixer-fixes branch 5 times, most recently from bac4096 to da27779 Compare August 26, 2023 03:18
@johnnovak
Copy link
Member Author

johnnovak commented Aug 26, 2023

@kcgen Is there anything we can do when we get the "out of space" errors on CI?

Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Download action repository 'actions/cache@v3.3.1' (SHA:88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8)
Error: No space left on device

https://github.com/dosbox-staging/dosbox-staging/actions/runs/5982536984/job/16231715952?pr=2787

Edit: Oh, looks like there is—ask you to make more space 😎

Current runner version: '2.308.0'
Runner name: 'kcgens-macos-m1-mini-1'

@johnnovak
Copy link
Member Author

All done @kcgen, I've done a few more improvements. I'll wait until you fix your Mac Mini situation 😄

@johnnovak johnnovak marked this pull request as ready for review August 26, 2023 05:47
@kcgen kcgen added the audio Audio related issues or enhancements label Aug 28, 2023
@kcgen
Copy link
Member

kcgen commented Aug 28, 2023

Nice cleanup @johnnovak ! Nothing more from me (and CI is happy now :-)

@johnnovak johnnovak added the refactoring Code refactoring without any functional changes label Aug 28, 2023
@johnnovak
Copy link
Member Author

Nice cleanup @johnnovak ! Nothing more from me (and CI is happy now :-)

Thanks man, merging 😎

@johnnovak johnnovak closed this Aug 28, 2023
@johnnovak johnnovak reopened this Aug 28, 2023
@johnnovak johnnovak merged commit 5a8c0a3 into main Aug 28, 2023
64 checks passed
@kcgen kcgen deleted the jn/mixer-fixes branch September 26, 2023 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audio Audio related issues or enhancements refactoring Code refactoring without any functional changes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants