mirror of https://github.com/encounter/SDL.git
netbsd: Fixed comment.
This commit is contained in:
parent
4c48260ca2
commit
4c190ce584
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue