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 refactor #8983

Draft
wants to merge 56 commits into
base: master
Choose a base branch
from
Draft

Audio refactor #8983

wants to merge 56 commits into from

Commits on May 14, 2021

  1. Everything

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    459c604 View commit details
    Browse the repository at this point in the history
  2. Update AudioPane.cpp

    UI fixes
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    d151525 View commit details
    Browse the repository at this point in the history
  3. Fixed test value

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    f817c63 View commit details
    Browse the repository at this point in the history
  4. Fix build errors and warnings

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    1eeadca View commit details
    Browse the repository at this point in the history
  5. Fixing

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    f0c9017 View commit details
    Browse the repository at this point in the history
  6. const

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    784334a View commit details
    Browse the repository at this point in the history
  7. Stuff

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    9ebae28 View commit details
    Browse the repository at this point in the history
  8. Surround fixes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    d095b32 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    eecac16 View commit details
    Browse the repository at this point in the history
  10. Build fixes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    0c383b4 View commit details
    Browse the repository at this point in the history
  11. Fixed asserts includes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    ad99b5c View commit details
    Browse the repository at this point in the history
  12. Finish audio panel improvements and descriptions.

    Big improvements to DPLII.
    Added support to change Cubeb audio settings at runtime, and improved the same thing for WASAPI.
    Fixed build on linux/mac.
    Finished input code and cleaned it up.
    Made FreeSurround safer and fixed support for changing sample rate at runtime.
    Added GetActualEmulationSpeed() to Core
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    bd4a8c7 View commit details
    Browse the repository at this point in the history
  13. Fixed build

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    873661d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1a166bf View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    fc3ad60 View commit details
    Browse the repository at this point in the history
  16. Fixes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    221c871 View commit details
    Browse the repository at this point in the history
  17. Added relative input support.

    Implemented it for Win Mouse.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    2721c0a View commit details
    Browse the repository at this point in the history
  18. Fixes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    c995616 View commit details
    Browse the repository at this point in the history
  19. Fixed nonsense comment

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    b870400 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    833c040 View commit details
    Browse the repository at this point in the history
  21. Added ability to make input settings depend on each other

    Add some more tooltips to input mapping widgets.
    Add edit condition to numeric settings (e.g. a setting that doesn't make sense unless another one is enabled).
    Fix group disabling leaving some widgets not grayed out.
    Increase mapping widget refresh rate from 30 to 60 (making them smoother)
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    fc9aec7 View commit details
    Browse the repository at this point in the history
  22. Renaming audio config variables

    global setting iLatency to iAudioBackendLatency.
    ini setting AudioLatency to AudioBackendLatency.
    Both were confusing, especially with all the new implemented audio (and latency) settings.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    0d8d716 View commit details
    Browse the repository at this point in the history
  23. Fix some comments

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    f6430d5 View commit details
    Browse the repository at this point in the history
  24. Restored DPLII highest quality

    Haven't proven it myself but @LAGonauta said he could clearly hear the difference between 40 and 80ms despite FreeSurround saying to not go over 20ms of block size.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    090f554 View commit details
    Browse the repository at this point in the history
  25. Grammar error

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    8037645 View commit details
    Browse the repository at this point in the history
  26. Audio Pane: UI improvements for DPLII

    -Added a space between values and "Hz".
    -Also slightly refactored a few other things in the audio pane, mostly the alignment.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    564a405 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    c1b2004 View commit details
    Browse the repository at this point in the history
  28. Small Audio Pane code cleanup

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    5096339 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    4382b2a View commit details
    Browse the repository at this point in the history
  30. WASAPI: added support for devices that don't support 48kHz

    Plus Audio Pane cleanup
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    4648fdd View commit details
    Browse the repository at this point in the history
  31. DPLII added UI feedback to let users know if it was enabled successfully

    And wrote some code to refresh WASAPI devices every time users click on the list
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    97d7ec1 View commit details
    Browse the repository at this point in the history
  32. DPLII improvements

    With PulseAudio and OpenAL.
    Plus Audio Pane improvements.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    1ef4ca9 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    9fef3ad View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    1d52233 View commit details
    Browse the repository at this point in the history
  35. Audio Streams fixes

    -DPLII support
    -Emulation pause and unpause fixes/support.
    -Memory leaks
    -Safety/cleaning up
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    1ec6aa7 View commit details
    Browse the repository at this point in the history
  36. DPLII now automatically determines the best block size (latency) base…

    …d on the backend latency
    
    Making the best compromise between quality and latency.
    Also added config/setting "DPL2PerformanceOverLatency" to prioritize performance over anything else.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    f60017f View commit details
    Browse the repository at this point in the history
  37. WASAPI fixed audio device being saved by name

    It's not really "safe" as more than one device could have the same name.
    It's now saved by device unique ID (assigned by Windows).
    Also fixed a few memory leaks in WASAPI.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    98b2cec View commit details
    Browse the repository at this point in the history
  38. DPLII improvements

    -Improved code to auto determine best DPLII block size (it turned out to be mostly useless so I will get rid of it)
    -Small DPLII fixes
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    d0bc115 View commit details
    Browse the repository at this point in the history
  39. Sound backends improvements

    -Uniquely defined all sound beckends in themselves, as a lot of their settings/capabilities were spread around the UI code.
    -Added UI information for when a backend has failed to start.
    -DPLII WIP (messy, full of debug stuff)
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    dc9fa15 View commit details
    Browse the repository at this point in the history
  40. Small change

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    caa3656 View commit details
    Browse the repository at this point in the history
  41. Fixing merge part 1

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    ebd0ee4 View commit details
    Browse the repository at this point in the history
  42. Added a Hotkey to temporarly enable Audio Stretching.

    If bound to the same key as "Disable Emulation Speed Limit" and the machine is capable of running the game at 100% speed,
    it can be used as a workaround for bug:
    https://bugs.dolphin-emu.org/issues/10254
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    fbc4091 View commit details
    Browse the repository at this point in the history
  43. Fixing merge part 2

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    ee791b4 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    69b6a1c View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    1ed6b0b View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    f23d6ff View commit details
    Browse the repository at this point in the history
  47. More FMT LOG fixes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    ca4951d View commit details
    Browse the repository at this point in the history
  48. Merging and fixes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    745df5a View commit details
    Browse the repository at this point in the history
  49. Updates from other PRs

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    f7d88e1 View commit details
    Browse the repository at this point in the history
  50. WASAPI: sent silent buffer flag if volume is 0

    Hopefully it does some internal optimization.
    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    4abec48 View commit details
    Browse the repository at this point in the history
  51. use std memory functions.

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    e9082d5 View commit details
    Browse the repository at this point in the history
  52. Post merge fixup

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    56efd3e View commit details
    Browse the repository at this point in the history
  53. Revert all input changes

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    78d7281 View commit details
    Browse the repository at this point in the history
  54. Post merge fixup

    Filoppi committed May 14, 2021
    Configuration menu
    Copy the full SHA
    a62c4e0 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2021

  1. Update FixedSizeQueue

    Filoppi committed May 15, 2021
    Configuration menu
    Copy the full SHA
    9bfae40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ed7758 View commit details
    Browse the repository at this point in the history