comparison src/audio/alsa/SDL_alsa_audio.c @ 2043:adf732f1f016

Formatting update
author Sam Lantinga <slouken@libsdl.org>
date Sun, 24 Sep 2006 15:56:55 +0000
parents 39897da56f63
children 5f6550e5184f c8b3d3d13ed1
comparison
equal deleted inserted replaced
2042:3908e1f808e1 2043:adf732f1f016
521 521
522 /* Try for a closest match on audio format */ 522 /* Try for a closest match on audio format */
523 status = -1; 523 status = -1;
524 for (test_format = SDL_FirstAudioFormat(spec->format); 524 for (test_format = SDL_FirstAudioFormat(spec->format);
525 test_format && (status < 0);) { 525 test_format && (status < 0);) {
526 status = 0; /* if we can't support a format, it'll become -1. */ 526 status = 0; /* if we can't support a format, it'll become -1. */
527 switch (test_format) { 527 switch (test_format) {
528 case AUDIO_U8: 528 case AUDIO_U8:
529 format = SND_PCM_FORMAT_U8; 529 format = SND_PCM_FORMAT_U8;
530 break; 530 break;
531 case AUDIO_S8: 531 case AUDIO_S8: