Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fine tuning indent output

  • Loading branch information
slouken committed May 28, 2006
1 parent 8a43fe6 commit 762ad066bcfc3035f4d703919c58a42cbfb8d18a
Showing with 2,923 additions and 5,907 deletions.
  1. +2,307 −5,541 include/SDL_opengl.h
  2. +17 −20 src/audio/alsa/SDL_alsa_audio.c
  3. +3 −1 src/audio/dc/aica.c
  4. +8 −4 src/main/macosx/SDLMain.m
  5. +553 −289 src/stdlib/SDL_stdlib.c
  6. +32 −51 src/video/qtopia/SDL_QWin.cc
  7. +3 −1 src/video/x11/SDL_x11yuv.c

Large diffs are not rendered by default.

@@ -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
@@ -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 */
@@ -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
@@ -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;
@@ -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;

0 comments on commit 762ad06

Please sign in to comment.