-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Split Audio Dumps on Sample Rate Changes #3891
Split Audio Dumps on Sample Rate Changes #3891
Conversation
cf9c938
to
8b77645
Compare
basename.replace(0, filepath.length(), ""); | ||
basename.replace(basename.end() - 4, basename.end(), ""); | ||
} | ||
current_sample_rate = HLESampleRate; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
35d6b3d
to
f20063d
Compare
Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions. Source/Core/AudioCommon/Mixer.h, line 60 [r2] (raw file):
This can be const qualified Source/Core/AudioCommon/WaveFile.cpp, line 113 [r2] (raw file):
This and the code below should be extracted to their own function. This literally do the same thing Comments from Reviewable |
f20063d
to
0d4b86b
Compare
Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions. Source/Core/AudioCommon/Mixer.h, line 60 [r2] (raw file):
|
Source/Core/AudioCommon/Mixer.h, line 60 [r2] (raw file):
|
0d4b86b
to
bd57dc6
Compare
Review status: 0 of 4 files reviewed at latest revision, 4 unresolved discussions. Source/Core/AudioCommon/Mixer.h, line 60 [r2] (raw file):
|
bd57dc6
to
06035b2
Compare
06035b2
to
ca2eaac
Compare
Reviewed 4 of 4 files at r5. Source/Core/AudioCommon/WaveFile.cpp, line 122 [r5] (raw file):
IMO AddStereoSamplesBE and AddStereoSamples should be merged, but this should be done in the next PR. Comments from Reviewable |
This is somewhat of a port of the dolphin-avsync functionality of splitting audio files based on sample rate changes. It's also an alternative to PR #3542, which would resample all audio to 48khz.
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)