mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 19:31:06 +00:00
Use samples_per_frame instead of hardcoded 160
This commit is contained in:
parent
a0e8255b65
commit
62e2cd6239
@ -54,7 +54,7 @@ SERIALIZE_IMPL(DspHle)
|
||||
//
|
||||
// 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
|
||||
static constexpr u64 audio_frame_ticks = 160 * 4096 * 2ull; ///< Units: ARM11 cycles
|
||||
static constexpr u64 audio_frame_ticks = samples_per_frame * 4096 * 2ull; ///< Units: ARM11 cycles
|
||||
|
||||
struct DspHle::Impl final {
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user