## DEFAULT GENERAL SETTINGS ##

float_bits: 32;				# internal floating point precision
sampling_rate: 48000;		# sampling rate in Hz of audio interfaces. Must match sample rate of filter .pcm if present in config
filter_length: 16384,4;		# length of filters
overflow_warnings: true;	# echo warnings to stderr if overflow occurs
show_progress: false;		# echo filtering progress to stderr
max_dither_table_size: 0;	# maximum size in bytes of precalculated dither
allow_poll_mode: false;		# allow use of input poll mode
modules_path: ".";			# extra path where to find BruteFIR modules
monitor_rate: false;		# monitor sample rate
powersave: true;			# pause filtering when input is zero
lock_memory: false;			# try to lock memory if realtime prio is set
convolver_config: "/etc/squeezeboxserver/BrutefirDrc/settings/wisdom"; # location of convolver config file


coeff "drc_l" {
filename: "/etc/squeezeboxserver/BrutefirDrc/filters/null-65k48-l.pcm";
format: "FLOAT_LE"; # file format
attenuation: 0.0; # attenuation in dB
blocks: -1; # how long in blocks
skip: 0; # how many bytes to skip
shared_mem: false; # allocate in shared memory
};

coeff "drc_r" {
filename: "/etc/squeezeboxserver/BrutefirDrc/filters/null-65k48-r.pcm";
format: "FLOAT_LE"; # file format
attenuation: 0.0; # attenuation in dB
blocks: -1; # how long in blocks
skip: 0; # how many bytes to skip
shared_mem: false; # allocate in shared memory
};

## INPUT DEFAULTS ##

input "l_in","r_in" {
device: "file" {path: "/dev/stdin";}; # module and parameters to get audio
sample: "S24_LE"; # sample format
channels: 2/0,1; # number of open channels / which to use
delay: 0,0; # delay in samples for each channel
maxdelay: -1; # max delay for variable delays
mute: false,false; # mute active on startup for each channel
};

## OUTPUT DEFAULTS ##

output "l_out","r_out" {
device: "file" {path: "/dev/stdout";}; # module and parameters to put audio
sample: "S24_LE"; # sample format
channels: 2/0,1; # number of open channels / which to use
delay: 0,0; # delay in samples for each channel
maxdelay: -1; # max delay for variable delays
mute: false,false; # mute active on startup for each channel
dither: false; # apply dither
};

# Digital room correction
filter "l_drc" {
from_inputs: "l_in"/0.0;
to_outputs: "l_out";
process: -1; # process index to run in (-1 means auto)
coeff: "drc_l";
delay: 0; # predelay, in blocks
crossfade: false; # crossfade when coefficient is changed
};

filter "r_drc" {
from_inputs: "r_in"/0.0;
to_outputs: "r_out";
process: -1; # process index to run in (-1 means auto)
coeff: "drc_r";
delay: 0; # predelay, in blocks
crossfade: false; # crossfade when coefficient is changed
};
