GUACAMOLE-25: Fix pointer update in audio input buffer transfer.
This commit is contained in:
parent
4e4dbd6a2d
commit
166eba11b7
@ -128,6 +128,9 @@ void guac_rdp_audio_buffer_write(guac_rdp_audio_buffer* audio_buffer,
|
||||
length -= chunk_size;
|
||||
audio_buffer->bytes_written += chunk_size;
|
||||
|
||||
/* Advance to next chunk */
|
||||
buffer += chunk_size;
|
||||
|
||||
/* Invoke flush handler if full */
|
||||
if (audio_buffer->bytes_written == audio_buffer->packet_size) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user