From b0a20180ee40e122d5fb23e994e564f89c07c7c4 Mon Sep 17 00:00:00 2001 From: xperia64 Date: Wed, 10 Jun 2020 23:05:02 -0400 Subject: [PATCH] Update comments after hardware testing --- src/audio_core/hle/hle.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/audio_core/hle/hle.cpp b/src/audio_core/hle/hle.cpp index dfbc8daf0..cba17c5ca 100644 --- a/src/audio_core/hle/hle.cpp +++ b/src/audio_core/hle/hle.cpp @@ -47,13 +47,11 @@ void DspHle::serialize(Archive& ar, const unsigned int) { } SERIALIZE_IMPL(DspHle) -// TODO(xperia64): The value below is the "perfect" mathematical ratio -// of ARM11 cycles per audio frame, as per merry's suggestion -// samples per frame * teaklite cycles per sample * 2 ARM11 cycles/teaklite cycle +// The value below is the "perfect" mathematical ratio of ARM11 cycles per audio frame, samples per +// frame * teaklite cycles per sample * 2 ARM11 cycles/teaklite cycle // (160 * 4096 * 2) = (1310720) // -// As per merry, it may be useful to verify this on hardware with the more recently -// discovered "correct" ARM11 frequency of 268111856 as opposed to 268123480 +// This value has been verified against a rough hardware test with hardware and LLE static constexpr u64 audio_frame_ticks = samples_per_frame * 4096 * 2ull; ///< Units: ARM11 cycles struct DspHle::Impl final {