Mercurial > sdl-ios-xcode
diff src/audio/mint/SDL_mintaudio_stfa.c @ 2043:adf732f1f016
Formatting update
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 24 Sep 2006 15:56:55 +0000 |
parents | d48ead2d2ba5 |
children | 5f6550e5184f b19680c84cdf |
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio_stfa.c Sun Sep 24 15:56:36 2006 +0000 +++ b/src/audio/mint/SDL_mintaudio_stfa.c Sun Sep 24 15:56:55 2006 +0000 @@ -206,7 +206,8 @@ { int i; - DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ", SDL_AUDIO_BITSIZE(spec->format))); + DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ", + SDL_AUDIO_BITSIZE(spec->format))); DEBUG_PRINT(("float=%d, ", SDL_AUDIO_ISFLOAT(spec->format))); DEBUG_PRINT(("signed=%d, ", SDL_AUDIO_ISSIGNED(spec->format))); DEBUG_PRINT(("big endian=%d, ", SDL_AUDIO_ISBIGENDIAN(spec->format))); @@ -214,11 +215,11 @@ DEBUG_PRINT(("freq=%d\n", spec->freq)); if (SDL_AUDIO_BITSIZE(spec->format) > 16) { - spec->format = AUDIO_S16SYS; /* clamp out int32/float32 ... */ + spec->format = AUDIO_S16SYS; /* clamp out int32/float32 ... */ } if (spec->channels > 2) { - spec->channels = 2; /* no more than stereo! */ + spec->channels = 2; /* no more than stereo! */ } /* Check formats available */ @@ -239,7 +240,8 @@ MINTAUDIO_numfreq = SDL_MintAudio_SearchFrequency(this, spec->freq); spec->freq = MINTAUDIO_frequencies[MINTAUDIO_numfreq].frequency; - DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ", SDL_AUDIO_BITSIZE(spec->format))); + DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ", + SDL_AUDIO_BITSIZE(spec->format))); DEBUG_PRINT(("float=%d, ", SDL_AUDIO_ISFLOAT(spec->format))); DEBUG_PRINT(("signed=%d, ", SDL_AUDIO_ISSIGNED(spec->format))); DEBUG_PRINT(("big endian=%d, ", SDL_AUDIO_ISBIGENDIAN(spec->format)));