Commit Graph

48 Commits (8482933db8acaead8ff66e1457cd5453b02cccf4)

Author SHA1 Message Date
Yuri Kunde Schlesner 74afcd5328 CMake: Add SoundTouch include path to target property 8 years ago
Yuri Kunde Schlesner 776cb91785 CMake: Define an interface target for SDL2 definitions 8 years ago
Yuri Kunde Schlesner 7b81903756 CMake: Correct inter-module dependencies and library visibility
Modules didn't correctly define their dependencies before, which relied
on the frontends implicitly including every module for linking to
succeed.

Also changed every target_link_libraries call to specify visibility of
dependencies to avoid leaking definitions to dependents when not
necessary.
8 years ago
Yuri Kunde Schlesner b4a93cfdde DSP: Create backing memory for entire DSP RAM
Also move address space mapping out of video_core.
8 years ago
Mat M 0cb52ee74a Doxygen: Amend minor issues (#2593)
Corrects a few issues with regards to Doxygen documentation, for example:

- Incorrect parameter referencing.
- Missing @param tags.
- Typos in @param tags.

and a few minor other issues.
8 years ago
Jake Merdich ff28080091 Support looping HLE audio (#2422)
* Support looping HLE audio
* DSP: Fix dirty bit clears, handle nonmonotonically incrementing IDs
* DSP: Add start offset support
8 years ago
noah the goodra 3545b144f1 fixed the override warning
```
In file included from citra/src/audio_core/sink_details.cpp:11:
citra/src/./audio_core/sdl2_sink.h:25:10: warning: 'SetDevice' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    void SetDevice(int device_id);
         ^
citra/src/./audio_core/sink.h:39:18: note: overridden virtual function is here
    virtual void SetDevice(int device_id) = 0;
                 ^
```
8 years ago
Kloen Lansfiel f852369986 SDL: Select audio device (#2403)
* Initial Commit

Added Device logic to Sinks
Started on UI for selecting devices

Removed redundant import

* Audio Core: Complete Device Switching

Complete the device switching implementation by allowing the output
device to be loaded, changed and saved through the configurations menu.

Worked with the Sink abstraction and tuned the "Device Selection"
configuration so that the Device List is automatically populated when
the Sink is changed.
This hopefully addresses the concerns and recommendations mentioned in
the comments of the PR.

* Clean original implementation.

* Refactor GetSinkDetails
8 years ago
Lioncash efcab1e918 time_stretch: Add missing #pragma once directive 8 years ago
Lioncash 963aedd8cc Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
8 years ago
MerryMage cef0f5b5a7 audio_core: SelectSink should default to auto if sink_id is invalid 8 years ago
freiro 5dd31f204a Improve verbosity of audio errors with SDL_GetError() 8 years ago
Ricardo de Almeida Gonzaga 13d46f6820 Fix typos 8 years ago
Yuri Kunde Schlesner 84fbbe2629 Use negative priorities to avoid special-casing the self-include 8 years ago
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
8 years ago
Yuri Kunde Schlesner 396a8d91a4 Manually tweak source formatting and then re-run clang-format 8 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 8 years ago
MerryMage 991cdda3fc audio_core: Tweak audio latency 8 years ago
fincs 0bbda3bab4 codec: Fix ADPCM distortion caused by incorrect nibble order
Closes #2049.

Signed-off-by: MerryMage <MerryMage@users.noreply.github.com>
8 years ago
MerryMage 904a319694 audio_core: Add EnableStretching to interface so that one can toggle stretching on and off 8 years ago
MerryMage 0ef4185644 sink: Change EnqueueSamples to take a pointer to a buffer instead of a std::vector 8 years ago
MerryMage f4d364a60e DSP/HLE: Audio output 9 years ago
MerryMage 6542c60602 DSP/HLE: Implement mixer processing 9 years ago
Maribel 6f6af6928f AudioCore: Implement time stretcher (#1737)
* AudioCore: Implement time stretcher

* fixup! AudioCore: Implement time stretcher

* fixup! fixup! AudioCore: Implement time stretcher

* fixup! fixup! fixup! AudioCore: Implement time stretcher

* fixup! fixup! fixup! fixup! AudioCore: Implement time stretcher

* fixup! fixup! fixup! fixup! fixup! AudioCore: Implement time stretcher
9 years ago
Lioncash da2400a601 source: Fix missing logging arguments
Silences two warnings on OSX.
9 years ago
Alexander Laties 0a31e373f1 fixup simple type conversions where possible 9 years ago
bunnei c549c36076 Merge pull request #1736 from MerryMage/sdl2-sink
AudioCore: SDL2 Sink
9 years ago
MerryMage 920d2cf41d AudioCore: SDL2 Sink 9 years ago
bunnei 1a6cd7eb4b HLE: Fix recent DSP change for Visual Studio. 9 years ago
MerryMage b242bdf945 DSP/HLE: Implement Source processing 9 years ago
MerryMage 4e971f44a2 Audio: Add sink selection to configuration files 9 years ago
MerryMage 8b94422e3e AudioCore: List of sink types 9 years ago
MerryMage 7d106eff10 AudioCore: Implement NullSink 9 years ago
bunnei 73624b4721 Merge pull request #1726 from MerryMage/read-write-region
AudioCore: CurrentRegion() -> ReadRegion(), WriteRegion()
9 years ago
MerryMage 22995bd9bf AudioCore: CurrentRegion() -> ReadRegion(), WriteRegion() 9 years ago
bunnei 4c235955cf Merge pull request #1723 from MerryMage/audio-interp
AudioCore: Implement interpolation
9 years ago
MerryMage 111275bfbd AudioCore: Implement interpolation 9 years ago
bunnei fda578e19d Merge pull request #1727 from MerryMage/minor-commit
AudioCore: Move samples_per_frame and num_sources into hle/common.h
9 years ago
bunnei 2f76dc6758 Merge pull request #1722 from MerryMage/soundtouch
Externals: Add soundtouch
9 years ago
MerryMage 27ce3b3f51 Externals: Add soundtouch 9 years ago
MerryMage dda9ffe790 AudioCore: Move samples_per_frame and num_sources into hle/common.h 9 years ago
MerryMage a47f149e07 AudioCore: Hack to prevent regressions: Trigger Binary pipe interrupt every audio frame 9 years ago
MerryMage ff6db69c60 DSP_DSP: Updated interrupt implementation 9 years ago
MerryMage 555907ce8d DSP/Pipe: There are 8 pipes 9 years ago
MerryMage 2a99464ef1 DSP: Implement audio filters (simple, biquad) 9 years ago
MerryMage efd1c3f8c3 DSP: Implement audio codecs (PCM8, PCM16, ADPCM) 9 years ago
MerryMage 004991d79e DSP: Implement Pipe 2
Pipe 2 is a DSP pipe that is used to initialize both the DSP hardware (the
application signals to the DSP to initialize) and the application (the DSP
provides the memory location of structures in the shared memory region).
9 years ago
MerryMage 8b00954ec7 AudioCore: Skeleton Implementation
This commit:
* Adds a new subproject, audio_core.
* Defines structures that exist in DSP shared memory.
* Hooks up various other parts of the emulator into audio core.

This sets the foundation for a later HLE DSP implementation.
9 years ago