mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
sbc_encode() can only process data with at least this->codesize bytes. When encode_buffer() is called with less then codesize bytes, accumulate those bytes in a temporary buffer up to codesize length, then SBC encode them. Maximum size for SBC buffer is (subbands * blocks * channels * 2) with max subbands = 8, max blocks = 16, max channels = 2, i.e. 512. Fixes !277 |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||