summaryrefslogtreecommitdiffstats
path: root/src/audio_core/stream.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-22Implement audout GetAudioOutPlayedSampleCountKelebek11-0/+6
Used in Ninja Gaiden games.
2021-01-24audout: FlushAudioOutBuffersChloe Marcec1-0/+3
Fixes Devil May Cry
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash1-2/+2
Moves the audio code closer to enabling warnings as errors in general.
2020-11-17audren: Make use of nodiscard, rework downmixing, release all buffersChloe Marcec1-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
2020-07-16core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash1-2/+2
Enforces our desired time units directly with a concrete type.
2020-07-16core_timing: Make use of std::chrono with ScheduleEventLioncash1-4/+2
2020-07-01audio: Improving audio timing for multicore/single coreDavid Marcec1-2/+2
Fixes the issue with needing the timestretcher for multicore.
2020-06-27Audio: Correct buffer release for host timing.Fernando Sahmkow1-0/+3
2020-06-27AudioCore: Use nanoseconds instead of cycles for buffer time.Fernando Sahmkow1-1/+1
2019-11-27core_timing: Use better reference tracking for EventType. (#3159)bunnei1-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.
2019-06-16CleanupDavid Marcec1-1/+1
2019-06-16Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & Partial impl of GetAccumulatedSuspendedTickChangedEventDavid Marcec1-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.
2019-02-16core_timing: Convert core timing into a classLioncash1-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.
2019-02-12core_timing: Rename CoreTiming namespace to Core::TimingLioncash1-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.
2018-09-24stream: Preserve enum class type in GetState()Lioncash1-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.
2018-09-23Added audren:u#GetAudioRendererStateDavid Marcec1-0/+3
2018-09-17stream: Replace includes with forward declarations where applicableLioncash1-3/+6
Avoids propagating includes in headers where it's not necessary to do so.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-2/+2
2018-08-05audio_core: Use s16 where possible for audio samples.bunnei1-3/+0
2018-08-04audio_core: Streams need unique names for CoreTiming.bunnei1-1/+3
2018-07-31audio_core: Implement Sink and SinkStream interfaces with cubeb.bunnei1-2/+5
2018-07-31audio_core: Misc. improvements to stream/buffer/audio_out.bunnei1-2/+13
2018-07-28audio_core: Add initial code for keeping track of audout state.bunnei1-0/+89