view src/console/Audacious_Config.h @ 2512:1f6b5f5768e2

Remove some completely useless null-pointer checks, g_free() checks the pointer anyway.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 02 Apr 2008 22:58:35 +0300
parents 799f92d815b2
children
line wrap: on
line source

/*
 * Audacious: Cross platform multimedia player
 * Copyright (c) 2005  Audacious Team
 *
 * Driver for Game_Music_Emu library. See details at:
 * http://www.slack.net/~ant/libs/
 */


#ifndef CONSOLE_AUDACIOUS_CONFIG_H
#define CONSOLE_AUDACIOUS_CONFIG_H 1

#include <glib.h>


typedef struct {
	gint loop_length;   // length of tracks that lack timing information
	gboolean resample;  // whether or not to resample
	gint resample_rate; // rate to resample at
	gint treble; // -100 to +100
	gint bass;   // -100 to +100
	gboolean ignore_spc_length; // if true, ignore length from SPC tags
	gint echo;   // 0 to +100
	gboolean inc_spc_reverb; // if true, increases the default reverb
}
AudaciousConsoleConfig;

extern AudaciousConsoleConfig audcfg;

extern "C" {
  void console_cfg_load( void );
  void console_cfg_save( void );
  void console_cfg_ui( void );
}

#endif /* !CONSOLE_AUDACIOUS_CONFIG_H */