2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src/audio_core
Lioncash c5d41fd812 core/core_timing: Make callback parameters consistent
In some cases, our callbacks were using s64 as a parameter, and in other
cases, they were using an int, which is inconsistent.

To make all callbacks consistent, we can just use an s64 as the type for
late cycles, given it gets rid of the need to cast internally.

While we're at it, also resolve some signed/unsigned conversions that
were occurring related to the callback registration.
2019-03-24 18:12:17 -04:00
..
algorithm Avoid (expensive) audio interpolation when sample rates already match 2018-12-06 09:46:08 -08:00
audio_out.cpp core_timing: Convert core timing into a class 2019-02-15 21:50:25 -05:00
audio_out.h core_timing: Convert core timing into a class 2019-02-15 21:50:25 -05:00
audio_renderer.cpp core_timing: Convert core timing into a class 2019-02-15 21:50:25 -05:00
audio_renderer.h audio_core/audio_renderer: Name previously unknown parameters of AudioRendererParameter 2019-02-27 06:09:07 -05:00
buffer.h audio_core/buffer: Make const and non-const getter for samples consistent 2019-02-16 15:21:35 -05:00
CMakeLists.txt audio_core: Add audio stretcher 2018-09-08 18:56:38 +01:00
codec.cpp audio_core/codec: Resolve truncation warnings within DecodeADPCM 2019-02-25 09:24:39 -05:00
codec.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
cubeb_sink.cpp audio_core/cubeb_sink: Convert _MSC_VER ifdefs to _WIN32 2019-03-09 18:06:23 -05:00
cubeb_sink.h audio_core/cubeb_sink: Convert _MSC_VER ifdefs to _WIN32 2019-03-09 18:06:23 -05:00
null_sink.h audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
sink.h audio_core: Sinks need unique names as well. 2018-08-04 14:34:12 -04:00
sink_details.cpp audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
sink_details.h audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
sink_stream.h audio_core: Flush stream when not playing anything 2018-09-12 18:09:14 +01:00
stream.cpp core/core_timing: Make callback parameters consistent 2019-03-24 18:12:17 -04:00
stream.h core_timing: Convert core timing into a class 2019-02-15 21:50:25 -05:00
time_stretch.cpp audio_core: remove unnecessary spaces on comments 2019-01-14 00:22:05 -02:00
time_stretch.h time_stretch: Remove unused m_channel_count member variable 2018-10-24 00:46:17 -04:00