mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-17 16:58:13 +00:00
netbsd: Fixed comment.
This commit is contained in:
@@ -220,7 +220,7 @@ NETBSDAUDIO_CaptureFromDevice(_THIS, void *_buffer, int buflen)
|
|||||||
Uint8 *buffer = (Uint8 *) _buffer;
|
Uint8 *buffer = (Uint8 *) _buffer;
|
||||||
int br, p = 0;
|
int br, p = 0;
|
||||||
|
|
||||||
/* Write the audio data, checking for EAGAIN on broken audio drivers */
|
/* Capture the audio data, checking for EAGAIN on broken audio drivers */
|
||||||
do {
|
do {
|
||||||
br = read(this->hidden->audio_fd, buffer + p, buflen - p);
|
br = read(this->hidden->audio_fd, buffer + p, buflen - p);
|
||||||
if (br > 0)
|
if (br > 0)
|
||||||
|
Reference in New Issue
Block a user