]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
minor typo 1851/head
authorAmbrose Li <ambrose.li@gmail.com>
Tue, 14 May 2024 08:44:58 +0000 (04:44 -0400)
committerAmbrose Li <ambrose.li@gmail.com>
Tue, 14 May 2024 08:44:58 +0000 (04:44 -0400)
audio_pa.c

index 4f963c7fb268c123a76ab7eba9c141a5bc7da74a..56c51e934081ad4f627650fc4c4e0a8245b6c03a 100644 (file)
@@ -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);