Update USB, etc. Add line for showing FPs.
This commit is contained in:
parent
3703ac096f
commit
a4769abeee
|
@ -50,6 +50,7 @@ int set_screeny = 480; REGISTER_PARAM( set_screeny, PAINT );
|
||||||
char sound_source[16]; REGISTER_PARAM( sound_source, PABUFFER );
|
char sound_source[16]; REGISTER_PARAM( sound_source, PABUFFER );
|
||||||
int cpu_autolimit = 1; REGISTER_PARAM( cpu_autolimit, PAINT );
|
int cpu_autolimit = 1; REGISTER_PARAM( cpu_autolimit, PAINT );
|
||||||
int sample_channel = -1;REGISTER_PARAM( sample_channel, PAINT );
|
int sample_channel = -1;REGISTER_PARAM( sample_channel, PAINT );
|
||||||
|
int showfps = 0; REGISTER_PARAM( showfps, PAINT );
|
||||||
|
|
||||||
struct NoteFinder * nf;
|
struct NoteFinder * nf;
|
||||||
|
|
||||||
|
@ -421,9 +422,9 @@ int main(int argc, char ** argv)
|
||||||
frames++;
|
frames++;
|
||||||
|
|
||||||
ThisTime = OGGetAbsoluteTime();
|
ThisTime = OGGetAbsoluteTime();
|
||||||
if( ThisTime > LastFPSTime + 1 )
|
if( ThisTime > LastFPSTime + 1 && showfps )
|
||||||
{
|
{
|
||||||
// printf( "FPS: %d\n", frames );
|
printf( "FPS: %d\n", frames );
|
||||||
lastfps = frames;
|
lastfps = frames;
|
||||||
frames = 0;
|
frames = 0;
|
||||||
LastFPSTime+=1;
|
LastFPSTime+=1;
|
||||||
|
|
|
@ -12,7 +12,7 @@ steady_bright = 0
|
||||||
#dft_q = 20.0000
|
#dft_q = 20.0000
|
||||||
#dft_speedup = 1000.0000
|
#dft_speedup = 1000.0000
|
||||||
|
|
||||||
sourcename = alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
|
sourcename = alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor
|
||||||
#alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
|
#alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
|
||||||
skipfirst = 1
|
skipfirst = 1
|
||||||
firstval = 0
|
firstval = 0
|
||||||
|
|
|
@ -12,7 +12,9 @@ steady_bright = 0
|
||||||
#dft_q = 20.0000
|
#dft_q = 20.0000
|
||||||
#dft_speedup = 1000.0000
|
#dft_speedup = 1000.0000
|
||||||
|
|
||||||
sourcename = alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
|
|
||||||
|
sourcename = alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor
|
||||||
|
#sourcename = alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
|
||||||
|
|
||||||
#alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
|
#alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
|
||||||
skipfirst = 1
|
skipfirst = 1
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
outdrivers = DisplayUSB2812, OutputLinear
|
outdrivers = DisplayUSB2812, OutputLinear
|
||||||
|
|
||||||
headless = 1
|
headless = 1
|
||||||
|
cpu_autolimit = 1
|
||||||
leds = 27
|
leds = 27
|
||||||
shape_cutoff = 0.03
|
shape_cutoff = 0.03
|
||||||
satamp = 3.000
|
satamp = 5.000
|
||||||
amppow = 2.5
|
amppow = 3.5
|
||||||
distpow = 1.500
|
distpow = 1.500
|
||||||
ledoutamp = 1
|
ledoutamp = 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue