mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
Update comments after hardware testing
This commit is contained in:
parent
62e2cd6239
commit
b0a20180ee
@ -47,13 +47,11 @@ void DspHle::serialize(Archive& ar, const unsigned int) {
|
|||||||
}
|
}
|
||||||
SERIALIZE_IMPL(DspHle)
|
SERIALIZE_IMPL(DspHle)
|
||||||
|
|
||||||
// TODO(xperia64): The value below is the "perfect" mathematical ratio
|
// The value below is the "perfect" mathematical ratio of ARM11 cycles per audio frame, samples per
|
||||||
// of ARM11 cycles per audio frame, as per merry's suggestion
|
// frame * teaklite cycles per sample * 2 ARM11 cycles/teaklite cycle
|
||||||
// samples per frame * teaklite cycles per sample * 2 ARM11 cycles/teaklite cycle
|
|
||||||
// (160 * 4096 * 2) = (1310720)
|
// (160 * 4096 * 2) = (1310720)
|
||||||
//
|
//
|
||||||
// As per merry, it may be useful to verify this on hardware with the more recently
|
// This value has been verified against a rough hardware test with hardware and LLE
|
||||||
// discovered "correct" ARM11 frequency of 268111856 as opposed to 268123480
|
|
||||||
static constexpr u64 audio_frame_ticks = samples_per_frame * 4096 * 2ull; ///< Units: ARM11 cycles
|
static constexpr u64 audio_frame_ticks = samples_per_frame * 4096 * 2ull; ///< Units: ARM11 cycles
|
||||||
|
|
||||||
struct DspHle::Impl final {
|
struct DspHle::Impl final {
|
||||||
|
Loading…
Reference in New Issue
Block a user