diff options
| author | HiFiPHile <[email protected]> | 2026-09-04 11:18:06 +0200 |
|---|---|---|
| committer | HiFiPHile <[email protected]> | 2026-09-04 11:18:06 +0200 |
| commit | 3976e532800cfa065b4fbf3f32b01b4a68e4d7f4 (patch) | |
| tree | 65a2d91d0a3ea8abefd78c83e2974da3b5971b32 /src/class/audio/audio_device.c | |
| parent | cd9bbed39f5851d5e4dc64271f18b8db777acb53 (diff) | |
| parent | 29851564af08cb4909175315d20c71f5eca13040 (diff) | |
Merge remote-tracking branch 'origin/master' into codex/class-reference-docs
Diffstat (limited to 'src/class/audio/audio_device.c')
| -rw-r--r-- | src/class/audio/audio_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/audio/audio_device.c b/src/class/audio/audio_device.c index 94881521a..bc4c7e544 100644 --- a/src/class/audio/audio_device.c +++ b/src/class/audio/audio_device.c @@ -1841,7 +1841,7 @@ static bool audiod_calc_tx_packet_sz(audiod_function_t *audio) { static uint16_t audiod_tx_packet_size(const uint16_t *nominal_size, uint16_t data_count, uint16_t fifo_depth, uint16_t fifo_threshold, uint16_t max_depth) { // Flow control need a FIFO size of at least 4*Navg - if (nominal_size[1] && nominal_size[1] <= fifo_depth * 4) { + if (nominal_size[1] && nominal_size[1] * 4 <= fifo_depth) { // Use blackout to prioritize normal size packet static int ctrl_blackout = 0; uint16_t packet_size; |
