forked from YARC-Official/YARG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Greatly clean up audio code (YARC-Official#407)
* Replace audio isSpeedup flag with a direct speed value Gets rid of the depenency on PlayMode in the audio code * Clean up song preview contexts They don't need to be interfaced, they're already designed to work with any backend lol Also fixed a couple warnings in SongSelection * Add SetPosition method to IStemChannel * Rework BassMoggStem Heavily de-duplicated code and simplified things, and created an interface for it * Account for channels that aren't part of a mixer when setting position * Split out .mogg-specific mixing code into its own mixer * Move audio code to a YARG.Audio namespace * Remove unused using directives in audio code * Fix BASS.FX and BASS.Mix versions not being logged correctly * Accidentally broke song previews lol
- Loading branch information
1 parent
f0a4b16
commit 612c0e4
Showing
31 changed files
with
367 additions
and
515 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace YARG { | ||
namespace YARG.Audio { | ||
public enum SongStem { | ||
Master = -2, | ||
Sfx = -1, | ||
|
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.