comparison src/audio/SDL_audio.c @ 3040:62d4992e5a92

indent
author Sam Lantinga <slouken@libsdl.org>
date Wed, 14 Jan 2009 04:25:32 +0000
parents 77c3e67f0740
children ae4e80dbe330
comparison
equal deleted inserted replaced
3039:829043b363d1 3040:62d4992e5a92
368 silence = 0x80; 368 silence = 0x80;
369 } else { 369 } else {
370 silence = 0; 370 silence = 0;
371 } 371 }
372 372
373 #if 0 /* !!! FIXME: I took len_div out of the structure. Use rate_incr instead? */ 373 #if 0 /* !!! FIXME: I took len_div out of the structure. Use rate_incr instead? */
374 /* If the result of the conversion alters the length, i.e. resampling is being used, use the streamer */ 374 /* If the result of the conversion alters the length, i.e. resampling is being used, use the streamer */
375 if (device->convert.len_mult != 1 || device->convert.len_div != 1) { 375 if (device->convert.len_mult != 1 || device->convert.len_div != 1) {
376 /* The streamer's maximum length should be twice whichever is larger: spec.size or len_cvt */ 376 /* The streamer's maximum length should be twice whichever is larger: spec.size or len_cvt */
377 stream_max_len = 2 * device->spec.size; 377 stream_max_len = 2 * device->spec.size;
378 if (device->convert.len_mult > device->convert.len_div) { 378 if (device->convert.len_mult > device->convert.len_div) {