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

Stop exposing TrackBass's constructor #4873

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented Nov 9, 2021

Rationale is that it can no longer work without being in the audio hierarchy. A TrackStore should be used instead.

Note that I am still working on the osu!-side changes to support this. Will block until I'm 100%.

Rationale is that it can no longer work without being in the audio
hierarchy. A `TrackStore` should be used instead.
peppy added a commit to peppy/osu that referenced this pull request Nov 9, 2021
This paves the way for the framework code quality change
(ppy/osu-framework#4873) which stops exposing
the constructor.

Most of the restructuring here is required to give `PreviewTrackManager`
an adjustable target to apply the global mute.
peppy added a commit to peppy/osu that referenced this pull request Nov 9, 2021
This paves the way for the framework code quality change
(ppy/osu-framework#4873) which stops exposing
the constructor.

Most of the restructuring here is required to give `PreviewTrackManager`
an adjustable target to apply the global mute.
@smoogipoo smoogipoo merged commit aee32e3 into ppy:master Nov 9, 2021
@peppy peppy deleted the deny-trackbass-ctor branch November 18, 2021 04:24
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.

Attempting to construct a TrackBass manually will throw on first usage
2 participants