better performance of net out

This commit is contained in:
cnlohr 2015-01-16 02:53:44 -05:00
parent fd917417bf
commit 0cf16d229c
3 changed files with 8 additions and 10 deletions

View file

@ -77,9 +77,9 @@ static void DPOUpdate(void * id, struct NoteFinder*nf)
for( j = 0; j < d->leds; j++ )
{
buffer[i++] = OutLEDs[j*3+2];
buffer[i++] = OutLEDs[j*3+0];
buffer[i++] = OutLEDs[j*3+1];
buffer[i++] = OutLEDs[j*3+0]; //RED
buffer[i++] = OutLEDs[j*3+2]; //BLUE
buffer[i++] = OutLEDs[j*3+1]; //GREEN
}
int r = sendto( d->socket, buffer, i, MSG_NOSIGNAL, &d->servaddr, sizeof( d->servaddr ) );
if( r < 0 )

View file

@ -21,7 +21,7 @@ samplerate = 44100
sound_source = PULSE
#-1 indicates left and right, 0 left, 1 right.
sample_channel = -1
sourcename = alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
sourcename = #alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
##################################
# General ColorChord properties. #

View file

@ -1,12 +1,10 @@
#What display output driver should be used?
outdrivers = DisplayNetwork, OutputLinear
leds = 296
light_siding = 1.4
satamp = 6.000
light_siding = 1.9
satamp = 1.400
is_loop=0
led_floor = .2
note_attach_amp_iir2 = .0500
led_floor = .25
note_attach_amp_iir = .4000
note_attach_amp_iir2 = .1500
note_attach_freq_iir = 0.3000
steady_bright = 0