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

Port Time Stretching and ProLogic II decoding to all audio backend -- From Ishiiruka #3053

Closed
wants to merge 4 commits into from

Conversation

phire
Copy link
Member

@phire phire commented Sep 17, 2015

I pulled this patch out of Tino's custom Ishiiruka-Dolphin build.
Previously Dolphin only supported these features on the OpenAL backend.

Note: ProLogic II decoding is only enabled on the backends that have support for outputting more than 2 channels of audio, currently OpenAL (excluding Mac) and XAudio.

This also fixes Issue 7955. Yes, I extracted this patch just so that issue could be closed.

I'm assigning attribution of this patch to @tino, as he did 99% of the work, I just extracted it and did a few formatting changes.

TODO:

phire:
  I pulled this patch out of Tino's custom Ishiiruka-Dolphin build.
  Previosly Dolphin only supported these features on the OpenAL backend.
  I'm assigning attribution of this patch to Tino, as he did 99% of
  the work, I just extracted it and did a few formatting changes.
         -- Scott Mansell <phiren@gmail.com>
//advance indexR with sample position
//remember fractional offset
static const float _coeffs[] =
{ -0.5f, 1.0f, -0.5f, 0.0f,

This comment was marked as off-topic.

Backends other than OpenAL use it now.
@phire
Copy link
Member Author

phire commented Sep 17, 2015

FifoCI appears to be broken due to the null audio backend being broken.

Not sure about the pr-win-dbg-x64 failure. The previous 4 (almost identical) builds worked fine and the error message is weird.

@dolphin-emu-bot
Copy link
Contributor

FifoCI detected that this change impacts graphical rendering. Here are the behavior differences detected by the system:

automated-fifoci-reporter

@Starsam80
Copy link
Contributor

This dolphin bot/FifoCI keeps on spamming my email. I've gotten around 13
emails already. Isn't there a way to fix this?

@bb010g
Copy link
Contributor

bb010g commented Sep 19, 2015

@Starsam80 All I can think is to unsubscribe from the issue and just check in manually here. FifoCI is...interesting.

@JMC47
Copy link
Contributor

JMC47 commented Sep 20, 2015

Does not seem to work on Linux. 48 fps on Windows in Four Swords Adventures sounds ridiculously good, but on Linux it is a choppy mess. Using the same settings (30 latency for the sake of testing) except for audio backend. I tried alsa and pulse on Linux.

ERROR_LOG(AUDIO, "Could not start backend %s, using %s instead",
backend.c_str(), BACKEND_NULLSOUND);
delete g_sound_stream;
g_sound_stream = new NullSound();

This comment was marked as off-topic.

@phire
Copy link
Member Author

phire commented Sep 21, 2015

Closing for now. Looks like it might be easier to just re-write the whole thing rather than reviewing.

@phire phire closed this Sep 21, 2015
@DarthVitrial
Copy link

I hope you do make a working version of this, Prologic and time-stretching for Xaudio is something I've wanted for a while. :D

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