mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
change AI sampling rate based on framelimit
This commit is contained in:
parent
ca9fd64df9
commit
bbd58b8f6a
2 changed files with 12 additions and 3 deletions
|
@ -12,8 +12,8 @@
|
|||
#define INDEX_MASK (MAX_SAMPLES * 2 - 1)
|
||||
|
||||
#define LOW_WATERMARK 1280 // 40 ms
|
||||
#define MAX_FREQ_SHIFT 0x0100 // of 0x10000
|
||||
#define CONTROL_FACTOR 0.3 // in freq_shift per fifo size offset
|
||||
#define MAX_FREQ_SHIFT 200 // per 32000 Hz
|
||||
#define CONTROL_FACTOR 0.2 // in freq_shift per fifo size offset
|
||||
#define CONTROL_AVG 32
|
||||
|
||||
class CMixer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue