Add mpd-indent.sh

Add a few new options for indent to try to make
things a bit cleaner

git-svn-id: https://svn.musicpd.org/mpd/trunk@4411 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich
2006-07-20 18:53:56 +00:00
parent 29a25b9933
commit 00e67be7c9
25 changed files with 59 additions and 56 deletions

View File

@@ -408,10 +408,10 @@ AudioOutputPlugin alsaPlugin = {
alsa_playAudio,
alsa_dropBufferedAudio,
alsa_closeDevice,
NULL, /* sendMetadataFunc */
NULL, /* sendMetadataFunc */
};
#else /* HAVE ALSA */
#else /* HAVE ALSA */
DISABLED_AUDIO_OUTPUT_PLUGIN(alsaPlugin)
#endif /* HAVE_ALSA */
#endif /* HAVE_ALSA */

View File

@@ -248,7 +248,7 @@ AudioOutputPlugin aoPlugin = {
audioOutputAo_play,
audioOutputAo_dropBufferedAudio,
audioOutputAo_closeDevice,
NULL, /* sendMetadataFunc */
NULL, /* sendMetadataFunc */
};
#else

View File

@@ -143,7 +143,7 @@ static int mvp_setPcmParams(MvpData * md, unsigned long rate, int channels,
else
return -1;
mix[3] = 0; /* stream type? */
mix[3] = 0; /* stream type? */
if (big_endian == 1)
mix[4] = 1;
@@ -278,10 +278,10 @@ AudioOutputPlugin mvpPlugin = {
mvp_playAudio,
mvp_dropBufferedAudio,
mvp_closeDevice,
NULL, /* sendMetadataFunc */
NULL, /* sendMetadataFunc */
};
#else /* HAVE_MVP */
#else /* HAVE_MVP */
DISABLED_AUDIO_OUTPUT_PLUGIN(mvpPlugin)
#endif /* HAVE_MVP */
#endif /* HAVE_MVP */

View File

@@ -42,15 +42,15 @@
#if defined(__OpenBSD__) || defined(__NetBSD__)
# include <soundcard.h>
#else /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
#else /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
# include <sys/soundcard.h>
#endif /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
#endif /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
#ifdef WORDS_BIGENDIAN
# define AFMT_S16_MPD AFMT_S16_BE
#else
# define AFMT_S16_MPD AFMT_S16_LE
#endif /* WORDS_BIGENDIAN */
#endif /* WORDS_BIGENDIAN */
typedef struct _OssData {
int fd;
@@ -585,10 +585,10 @@ AudioOutputPlugin ossPlugin = {
oss_playAudio,
oss_dropBufferedAudio,
oss_closeDevice,
NULL, /* sendMetadataFunc */
NULL, /* sendMetadataFunc */
};
#else /* HAVE OSS */
#else /* HAVE OSS */
DISABLED_AUDIO_OUTPUT_PLUGIN(ossPlugin)
#endif /* HAVE_OSS */
#endif /* HAVE_OSS */

View File

@@ -361,7 +361,7 @@ AudioOutputPlugin osxPlugin = {
osx_play,
osx_dropBufferedAudio,
osx_closeDevice,
NULL, /* sendMetadataFunc */
NULL, /* sendMetadataFunc */
};
#else

View File

@@ -211,10 +211,10 @@ AudioOutputPlugin pulsePlugin = {
pulse_playAudio,
pulse_dropBufferedAudio,
pulse_closeDevice,
NULL, /* sendMetadataFunc */
NULL, /* sendMetadataFunc */
};
#else /* HAVE_PULSE */
#else /* HAVE_PULSE */
DISABLED_AUDIO_OUTPUT_PLUGIN(pulsePlugin)
#endif /* HAVE_PULSE */
#endif /* HAVE_PULSE */