# audio: Remove unbounded input queue in favor of 1-element queue \(\#51647\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2a7bd8464b14f3fdf82ae948d8f2545edc369491)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2a7bd8464b14f3fdf82ae948d8f2545edc369491

Requested commit: 2a7bd8464b14f3fdf82ae948d8f2545edc369491

Commit: 2a7bd8464b14f3fdf82ae948d8f2545edc369491

Tree: 0ec5e493fc52aba49d9eb9b3b3cc0386db703471

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
audio: Remove unbounded input queue in favor of 1-element queue (#51647)

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>

Closes #ISSUE

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Improve recovery of audio latency after CPU-intensive period.

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
```

## Parents

- [357ee0fa3f51f0558f7c7c7e2e22d4518fff5177](https://git.cafe/gitcafe/zed/commit/357ee0fa3f51f0558f7c7c7e2e22d4518fff5177?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2a7bd8464b14f3fdf82ae948d8f2545edc369491?format=markdown)
