summaryrefslogtreecommitdiffstats
path: root/src/audio_core/stream.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* Implement audout GetAudioOutPlayedSampleCountKelebek12021-06-221-0/+6
| | | | Used in Ninja Gaiden games.
* audout: FlushAudioOutBuffersChloe Marcec2021-01-241-0/+3
| | | | Fixes Devil May Cry
* audio_core: Make shadowing and unused parameters errorsLioncash2020-12-031-2/+2
| | | | Moves the audio code closer to enabling warnings as errors in general.
* audren: Make use of nodiscard, rework downmixing, release all buffersChloe Marcec2020-11-171-9/+12
| | | | | | Preliminary work for upmixing & general cleanup. Fixes basic issues in games such as Shovel Knight and slightly improves the LEGO games. Upmixing stitll needs to be implemented. Audio levels in a few games will be fixed as we now use the downmix coefficients when possible instead of supplying our own
* core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash2020-07-161-2/+2
| | | | Enforces our desired time units directly with a concrete type.
* core_timing: Make use of std::chrono with ScheduleEventLioncash2020-07-161-4/+2
|
* audio: Improving audio timing for multicore/single coreDavid Marcec2020-07-011-2/+2
| | | | Fixes the issue with needing the timestretcher for multicore.
* Audio: Correct buffer release for host timing.Fernando Sahmkow2020-06-271-0/+3
|
* AudioCore: Use nanoseconds instead of cycles for buffer time.Fernando Sahmkow2020-06-271-1/+1
|
* core_timing: Use better reference tracking for EventType. (#3159)bunnei2019-11-271-12/+13
| | | | | | | * core_timing: Use better reference tracking for EventType. - Moves ownership of the event to the caller, ensuring we don't fire events for destroyed objects. - Removes need for unique names - we won't be using this for save states anyways.
* CleanupDavid Marcec2019-06-161-1/+1
|
* Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & Partial impl of GetAccumulatedSuspendedTickChangedEventDavid Marcec2019-06-161-0/+7
| | | | IPC-100 was changed to InitializeApplicationInfoOld instead of InitializeApplicationInfo. IPC-150 makes an indentical call to IPC-100 however does extra processing. They should not have the same name as it's quite confusing to debug.
* core_timing: Convert core timing into a classLioncash2019-02-161-3/+5
| | | | | | | | | | | Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
* core_timing: Rename CoreTiming namespace to Core::TimingLioncash2019-02-121-11/+11
| | | | | | Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
* stream: Preserve enum class type in GetState()Lioncash2018-09-241-7/+7
| | | | | | Preserves the meaning/type-safetiness of the stream state instead of making it an opaque u32. This makes it usable for other things outside of the service HLE context.
* Added audren:u#GetAudioRendererStateDavid Marcec2018-09-231-0/+3
|
* stream: Replace includes with forward declarations where applicableLioncash2018-09-171-3/+6
| | | | | Avoids propagating includes in headers where it's not necessary to do so.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-2/+2
|
* audio_core: Use s16 where possible for audio samples.bunnei2018-08-051-3/+0
|
* audio_core: Streams need unique names for CoreTiming.bunnei2018-08-041-1/+3
|
* audio_core: Implement Sink and SinkStream interfaces with cubeb.bunnei2018-07-311-2/+5
|
* audio_core: Misc. improvements to stream/buffer/audio_out.bunnei2018-07-311-2/+13
|
* audio_core: Add initial code for keeping track of audout state.bunnei2018-07-281-0/+89