mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +00:00
netbsd: Fixed comment.
This commit is contained in:
parent
4c48260ca2
commit
4c190ce584
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue