mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
context: the max quantum is never scaled with samplerate
Or else we could end up with a quantum > 8192 when we have a higher samplerate than the default and we crash. See #1702
This commit is contained in:
parent
058cecee7e
commit
0d1f7be0e9
1 changed files with 0 additions and 1 deletions
|
|
@ -1318,7 +1318,6 @@ again:
|
|||
if (rate_quantum != 0 && current_rate != rate_quantum) {
|
||||
def_quantum = def_quantum * current_rate / rate_quantum;
|
||||
min_quantum = min_quantum * current_rate / rate_quantum;
|
||||
max_quantum = max_quantum * current_rate / rate_quantum;
|
||||
}
|
||||
|
||||
/* calculate desired quantum */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue