sanitize whitespace.

master
Ozkan Sezer 5 years ago
parent 8752414fa8
commit 06e39db305
  1. 3
      src/info.c
  2. 1
      src/main.c
  3. 7
      src/options.c
  4. 14
      src/sound_beos.cpp
  5. 1
      src/sound_coreaudio.c
  6. 1
      src/sound_oss.c
  7. 1
      src/sound_pulseaudio.c
  8. 1
      src/sound_sndio.c

@ -271,7 +271,6 @@ void info_ins_smp(struct xmp_module_info *mi)
if (j == 0) {
report("[ ] ----- ----- ----- --- ---- --- ---\n");
}
}
}
@ -321,7 +320,6 @@ void info_instruments(struct xmp_module_info *mi)
if (j == 0) {
report("[ ] -- -- ---- --- --- --\n");
}
}
}
@ -369,4 +367,3 @@ void info_comment(struct xmp_module_info *mi)
}
report("\n\n");
}

@ -562,7 +562,6 @@ int main(int argc, char **argv)
refresh_status = 1;
}
switch (control.cur_info) {
case 'X': {
char buf[80];

@ -222,7 +222,6 @@ void get_options(int argc, char **argv, struct options *options)
}
options->player_mode = -1;
}
break;
case 'F':
options->dsp &= ~XMP_DSP_LOWPASS;
@ -293,9 +292,11 @@ void get_options(int argc, char **argv, struct options *options)
options->driver_id = "file";
}
break;
/* case OPT_FX9BUG:
/*
case OPT_FX9BUG:
options->fx9bug = 1;
break; */
break;
*/
case 'P':
options->mix = strtoul(optarg, NULL, 0);
if (options->mix < 0)

@ -22,12 +22,6 @@ extern "C" {
static media_raw_audio_format fmt;
static BSoundPlayer *player;
/*
* CoreAudio helpers from mplayer/libao
* The player fills a ring buffer, BSP retrieves data from the buffer
*/
static int paused;
static uint8 *buffer;
static int buffer_len;
@ -127,11 +121,6 @@ static int read_buffer(unsigned char *data, int len)
return len;
}
/*
* end of CoreAudio helpers
*/
void render_proc(void *theCookie, void *buffer, size_t req,
const media_raw_audio_format &format)
{
@ -143,7 +132,6 @@ void render_proc(void *theCookie, void *buffer, size_t req,
read_buffer((unsigned char *)buffer, req);
}
static int init(struct options *options)
{
char **parm = options->driver_parm;
@ -176,7 +164,6 @@ static int init(struct options *options)
return 0;
}
static void play(void *b, int i)
{
int j = 0;
@ -219,4 +206,3 @@ static void onpause(void)
static void onresume(void)
{
}

@ -124,7 +124,6 @@ OSStatus render_proc(void *inRefCon,
* end of CoreAudio helpers
*/
static int init(struct options *options)
{
AudioStreamBasicDescription ad;

@ -210,4 +210,3 @@ struct sound_driver sound_oss = {
onpause,
onresume
};

@ -82,7 +82,6 @@ static void onresume(void)
{
}
struct sound_driver sound_pulseaudio = {
"pulseaudio",
"PulseAudio sound output",

@ -48,7 +48,6 @@ static int init(struct options *options)
options->format &= ~XMP_FORMAT_UNSIGNED;
}
askpar = par;
if (!sio_setpar(hdl, &par) || !sio_getpar(hdl, &par)) {
fprintf(stderr, "%s: failed to set parameters\n", __func__);

Loading…
Cancel
Save