mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-01-02 05:10:27 +01:00
If only part of the buffer is written into stdout by stdout_callback, the buffer_index variable is increased by the number of written bytes, buffer_length variable is decreased while the allocated buffer size remains the same. That suggests that the current allocated size is calculated as (buffer_index + buffer_length). However the current stream_read_callback implementation writes new data to the start of the buffer and allocates too little space, so that (buffer + buffer_index + buffer_length - 1) could actully point outside of the allocated buffer. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| pacat.c | ||
| pacmd.c | ||
| pactl.c | ||
| padsp.c | ||
| padsp.in | ||
| pasuspender.c | ||
| pax11publish.c | ||
| qpaeq | ||