formatiing changes

This commit is contained in:
Andrew 2017-01-17 14:21:23 -08:00
parent 7685502c9b
commit c58720a89f
2 changed files with 9 additions and 9 deletions

View File

@ -692,7 +692,6 @@ static int set_oss_params (int a, int fd, struct audio_s *pa)
char message[100]; char message[100];
int ossbuf_size_in_bytes; int ossbuf_size_in_bytes;
err = ioctl (fd, SNDCTL_DSP_CHANNELS, &(pa->adev[a].num_channels)); err = ioctl (fd, SNDCTL_DSP_CHANNELS, &(pa->adev[a].num_channels));
if (err == -1) { if (err == -1) {
text_color_set(DW_COLOR_ERROR); text_color_set(DW_COLOR_ERROR);
@ -1249,6 +1248,7 @@ int audio_flush (int a)
} }
if (k < len) { if (k < len) {
/* presumably full but didn't block. */ /* presumably full but didn't block. */
dw_printf("problem\n");
usleep (10000); usleep (10000);
} }
ptr += k; ptr += k;