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

AudioCommon: Move DPL2 decoding into Mixer #5311

Merged
merged 3 commits into from Jun 6, 2017

Conversation

ligfx
Copy link
Contributor

@ligfx ligfx commented Apr 24, 2017

Pretty straightforward, though testing is a little janky on macOS (OpenAL doesn't support multichannel, so I hacked up CoreAudioStream on my local copy).

Also extracts out @MerryMage's time-stretching logic into an AudioStretcher class and splits it into two functions, to make clear that you can use the same buffer for input and output. Not really sure about this, but it seemed silly to add another intermediate buffer when the existing one works fine.

class AudioStretcher
{
public:
AudioStretcher(unsigned int sample_rate);

This comment was marked as off-topic.

This comment was marked as off-topic.

// Licensed under GPLv2+
// Refer to the license.txt file included.

#include <cmath>

This comment was marked as off-topic.

This comment was marked as off-topic.

@ligfx
Copy link
Contributor Author

ligfx commented May 16, 2017

Ping! Anything holding this back? @MerryMage if you have the time, would you mind taking a look?

@bb010g
Copy link
Contributor

bb010g commented May 31, 2017

Needs a rebase.

@merryhime
Copy link
Contributor

Logic LGTM

@ligfx
Copy link
Contributor Author

ligfx commented Jun 3, 2017

Rebased!

@shuffle2 shuffle2 merged commit 0b00477 into dolphin-emu:master Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants