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

Allow bass sample channels to overwrite older ones by default. #672

Merged
merged 5 commits into from Apr 29, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

Allow bass sample channels to overwrite older ones by default.

  • Loading branch information...
peppy committed Apr 28, 2017
commit a9e4979db93549716d38e7b19bca4797531328bc
@@ -18,7 +18,7 @@ public SampleBass(byte[] data, ConcurrentQueue<Action> customPendingActions = nu
if (customPendingActions != null)
PendingActions = customPendingActions;

PendingActions.Enqueue(() => { sampleId = Bass.SampleLoad(data, 0, data.Length, 8, BassFlags.Default); });
PendingActions.Enqueue(() => { sampleId = Bass.SampleLoad(data, 0, data.Length, 8, BassFlags.Default | BassFlags.SampleOverrideLongestPlaying); });
}

protected override void Dispose(bool disposing)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.