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

Audio handling cleanup v2 #220

Merged
merged 4 commits into from Mar 30, 2014

Conversation

magumagu
Copy link
Contributor

Resubmitting previous request. (I'm still getting used to using git for this sort of workflow.)

@degasus
Copy link
Member

degasus commented Mar 29, 2014

LGTM, nice catch

@@ -143,7 +118,9 @@ bool DSPLLE::Initialize(void *hWnd, bool bWii, bool bDSPThread)
irom_file = File::GetSysDirectory() + GC_SYS_DIR DIR_SEP DSP_IROM;
if (!File::Exists(coef_file))
coef_file = File::GetSysDirectory() + GC_SYS_DIR DIR_SEP DSP_COEF;
if (!DSPCore_Init(irom_file, coef_file, AudioCommon::UseJIT()))

bool UseJIT = SConfig::GetInstance().m_DSPEnableJIT;

This comment was marked as off-topic.

@lioncash
Copy link
Member

@magumagu Just some helpful advice, but to rewind to commits you previously made to do changes, just use git rebase --interactive [SHA-ID of the commit before all your changes]. It should list all of your commits with the word 'pick' next to them. Change the one you want to roll back to to have 'edit' beside it. It'll roll back, do your changes for that specific commit, git commit --amend them, and then just do git rebase --continue to re-apply all the other commit changes you made.

Just saying in case you didn't know :)

This is good for a couple of reasons: one, it gets rid of duplicated code,
and two, DSP emulation shouldn't need to interact with audio in the first
place.
delroth added a commit that referenced this pull request Mar 30, 2014
@delroth delroth merged commit 76fafb1 into dolphin-emu:master Mar 30, 2014
@magumagu magumagu deleted the audio-handling-cleanup-v2 branch March 30, 2014 18:46
@djtedo
Copy link

djtedo commented Mar 31, 2014

fixed my audio issues with brawl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants