From 998776e49637657edb20d127586d514c4f0b39a0 Mon Sep 17 00:00:00 2001 From: Ambrose Li Date: Tue, 14 May 2024 04:44:58 -0400 Subject: [PATCH] minor typo --- audio_pa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio_pa.c b/audio_pa.c index 4f963c7f..56c51e93 100644 --- a/audio_pa.c +++ b/audio_pa.c @@ -399,7 +399,7 @@ void stream_write_cb(pa_stream *stream, size_t requested_bytes, ret = pa_stream_begin_write(stream, (void **)&buffer, &bytes_we_can_transfer); if ((ret == 0) && (buffer != NULL)) { if (bytes_we_can_transfer <= (size_t)(audio_umb - audio_toq)) { - // the bytes are all in a row in the audo buffer + // the bytes are all in a row in the audio buffer memcpy(buffer, audio_toq, bytes_we_can_transfer); audio_toq += bytes_we_can_transfer; ret = pa_stream_write(stream, buffer, bytes_we_can_transfer, NULL, 0LL, PA_SEEK_RELATIVE); -- 2.47.2