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

Small refactor around loading a song entry's audio #521

Merged
merged 4 commits into from
Jul 9, 2023

Conversation

sonicfind
Copy link
Collaborator

  • Simplify the stem channel inheritance hierarchy a bit
  • Split the ExConSongEntry stem map into the separate stems - allows easier stem type-base audio removal when specified on audio load.
  • Move MoggInfoGeneration function into the ConEntry class directly

+ Currently only ini entries have it implemented
Copy link
Collaborator

@RileyTheFox RileyTheFox left a comment

Choose a reason for hiding this comment

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

Mostly happy with the changes, I just think that ExConSongEntry is extremely bloated now as the purpose of the SongEntry classes were for storing song info to play the song or to cache it

Assets/Script/Audio/Bass/BassMoggStemChannel.cs Outdated Show resolved Hide resolved
Assets/Script/Audio/Bass/BassStemMixer.cs Outdated Show resolved Hide resolved
Assets/Script/Song/Types/ExConSongEntry.cs Outdated Show resolved Hide resolved
Assets/Script/Song/Scanning/SongScanThread.cs Outdated Show resolved Hide resolved
+ Alter CONEntry stem map organization: instead of holding a combined list/dictionary of stem values, we'll keep them separated and generate a combined list at call time.
Refactor Mogg Stem subclass to no longer hold a list of channels *while also* inheriting from the IStemChannel interface. Just inherit from BassStemChannel

+ Change the IStemMixer Dictionary values to lists of channels.
@RileyTheFox RileyTheFox merged commit c42414c into YARC-Official:dev Jul 9, 2023
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.

2 participants