Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
fine tuning indent output
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 28, 2006
1 parent 8a43fe6 commit 762ad06
Show file tree
Hide file tree
Showing 7 changed files with 2,923 additions and 5,907 deletions.
7,848 changes: 2,307 additions & 5,541 deletions include/SDL_opengl.h

Large diffs are not rendered by default.

37 changes: 17 additions & 20 deletions src/audio/alsa/SDL_alsa_audio.c
Expand Up @@ -93,27 +93,24 @@ static int (*SDL_NAME (snd_pcm_hw_params_set_channels)) (snd_pcm_t * pcm,
static int (*SDL_NAME (snd_pcm_hw_params_get_channels)) (const
snd_pcm_hw_params_t *
params);
static unsigned int (*SDL_NAME (snd_pcm_hw_params_set_rate_near)) (snd_pcm_t *
pcm,
snd_pcm_hw_params_t
* params,
unsigned
int val,
int *dir);
static snd_pcm_uframes_t (*SDL_NAME (snd_pcm_hw_params_set_period_size_near))







(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val,
int *dir);
static unsigned int
(*SDL_NAME (snd_pcm_hw_params_set_rate_near)) (snd_pcm_t *
pcm,
snd_pcm_hw_params_t
* params,
unsigned
int val, int *dir);
static snd_pcm_uframes_t
(*SDL_NAME (snd_pcm_hw_params_set_period_size_near)) (snd_pcm_t * pcm,
snd_pcm_hw_params_t
* params,
snd_pcm_uframes_t
val, int *dir);
static
snd_pcm_sframes_t (*SDL_NAME (snd_pcm_hw_params_get_period_size)) (const
snd_pcm_hw_params_t
* params);
snd_pcm_sframes_t (*SDL_NAME (snd_pcm_hw_params_get_period_size)) (const
snd_pcm_hw_params_t
*
params);
static unsigned
int (*SDL_NAME (snd_pcm_hw_params_set_periods_near)) (snd_pcm_t * pcm,
snd_pcm_hw_params_t
Expand Down
4 changes: 3 additions & 1 deletion src/audio/dc/aica.c
Expand Up @@ -9,7 +9,9 @@
#include <arch/irq.h>
#include <dc/spu.h>

/* #define dc_snd_base ((volatile unsigned char *)0x00800000) *//* arm side */
#if 0
#define dc_snd_base ((volatile unsigned char *)0x00800000) /* arm side */
#endif
#define dc_snd_base ((volatile unsigned char *)0xa0700000) /* dc side */

/* Some convienence macros */
Expand Down
12 changes: 8 additions & 4 deletions src/main/macosx/SDLMain.m
Expand Up @@ -76,7 +76,8 @@
#if SDL_USE_NIB_FILE
/* A helper category for NSString */
@interface NSString (ReplaceSubString) - (NSString *) stringByReplacingRange:(NSRange)
aRange with:(NSString *)
aRange
with:(NSString *)
aString;
@end
#endif
Expand Down Expand Up @@ -114,8 +115,10 @@ - (void) setupWorkingDirectory:(BOOL) shouldChdir {

/* Fix menu to contain the real app name instead of "SDL App" */
-(void) fixMenu:(NSMenu *)
aMenu withAppName:(NSString *)
appName {
aMenu
withAppName:(NSString *)
appName
{
NSRange aRange;
NSEnumerator *enumerator;
NSMenuItem *menuItem;
Expand Down Expand Up @@ -322,7 +325,8 @@ -(void) applicationDidFinishLaunching:(NSNotification *) note {
}

@end @ implementation NSString (ReplaceSubString) - (NSString *) stringByReplacingRange:(NSRange)
aRange with:(NSString *)
aRange
with:(NSString *)
aString
{
unsigned int bufferSize;
Expand Down

0 comments on commit 762ad06

Please sign in to comment.