Adjust controller polling frequency with the audio buffer
Bug #990992 reported by
Alban
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Triaged
|
High
|
William Good |
Bug Description
In the new controller manager the polling frequency is hardcoded to 1KHz, however my system (ubuntu 11.10) use HZ=250. As the timer frequency is higher than the system time slice it completely hog the cpu rendering controllers unusable. In the old system the poll frequency of PortMidi was 250Hz.
Related branches
lp://staging/~mixxxdevelopers/mixxx/fixes_midi_burnout
- Mixxx Development Team: Pending requested
-
Diff: 147 lines (+49/-7)7 files modifiedmixxx/build/depends.py (+1/-0)
mixxx/src/controllers/controller.h (+3/-2)
mixxx/src/controllers/controllermanager.cpp (+6/-1)
mixxx/src/controllers/midi/portmidicontroller.cpp (+4/-3)
mixxx/src/controllers/midi/portmidicontroller.h (+1/-1)
mixxx/src/sleepableqthread.cpp (+8/-0)
mixxx/src/sleepableqthread.h (+26/-0)
Changed in mixxx: | |
milestone: | none → 1.11.0 |
importance: | Undecided → High |
Changed in mixxx: | |
status: | New → Confirmed |
Changed in mixxx: | |
status: | In Progress → Triaged |
Changed in mixxx: | |
milestone: | 1.11.0 → 1.11.1 |
Changed in mixxx: | |
milestone: | 1.11.1 → none |
tags: | added: performance |
tags: | added: midi |
summary: |
- The new controller polling frequency is too high for desktop systems + Adjust controller polling frequency with the audio buffer |
To post a comment you must log in.
wow my laptop is getting hot over 100% cpu usage while doing nothing