)]}'
{
  "commit": "b0738b5949130d5ab175835d72bb793830d09bc9",
  "tree": "af477ed87f4cf569a46d36c10066f30d06b0a299",
  "parents": [
    "f3021b337fcea154b898489c417d428c92f88e92"
  ],
  "author": {
    "name": "rt-rtos",
    "email": "rasmus.tikkanen95@gmail.com",
    "time": "Tue Aug 04 21:09:20 2026 +0200"
  },
  "committer": {
    "name": "rt-rtos",
    "email": "rasmus.tikkanen95@gmail.com",
    "time": "Tue Aug 04 21:09:20 2026 +0200"
  },
  "message": "audio_device: enforce the documented FIFO minimum in the EP-IN flow-control guard\n\nThe comment above audiod_tx_packet_size() states flow control needs a FIFO\nof at least 4*Navg, but the guard tests nominal_size[1] \u003c\u003d fifo_depth * 4 -\ntrue for any FIFO larger than a quarter packet - instead of\nnominal_size[1] * 4 \u003c\u003d fifo_depth. As written, flow control engages on\nFIFOs far below its own documented minimum, where the depth/2 setpoint sits\nwithin one packet of empty and the packet_size \u003d 0 branch (a zero-length\npacket, i.e. an audible 1 ms dropout for audio-class hosts) is reachable\nfrom ordinary scheduling jitter rather than only from gross clock\ndeviation. With the guard corrected, undersized FIFOs fall back to the\nplain min(count, max) path as intended.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "94881521a61bfab67d882182bc8357dc7499c0a0",
      "old_mode": 33188,
      "old_path": "src/class/audio/audio_device.c",
      "new_id": "bc4c7e54490c0a85f88f771feb2a7c74a41410a3",
      "new_mode": 33188,
      "new_path": "src/class/audio/audio_device.c"
    }
  ]
}
