mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
Fix I/O thread calculation on single core systems
This commit is contained in:
parent
42785a03df
commit
c665608350
1 changed files with 2 additions and 0 deletions
|
|
@ -737,6 +737,8 @@ ARDOUR::how_many_io_threads ()
|
|||
if (pu < 0) {
|
||||
if (-pu < num_cpu) {
|
||||
num_threads = num_cpu + pu;
|
||||
} else {
|
||||
num_threads = 1;
|
||||
}
|
||||
} else if (pu == 0) {
|
||||
num_threads = num_cpu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue