This commit is contained in:
Gerolf Ziegenhain 2016-10-04 16:59:59 +02:00
parent ae5dffa383
commit 96c1a5c030
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ int beep(double freq_hz, double duration_sec)
if (frames < 0)
frames = snd_pcm_recover(handle, frames, 0);
if (frames < 0) {
break;
//break;
}
if (frames > 0 && frames < FRAMES)
printf("Short write (expected %li, wrote %li)\n", FRAMES, (long)frames);