update DMX for recording
This commit is contained in:
parent
000261ace5
commit
46c9f8fcf6
|
@ -140,22 +140,16 @@ static void PlaybackEvent(void * v, int samples, float * samps, int channel_ct)
|
||||||
else
|
else
|
||||||
force_white = 0;
|
force_white = 0;
|
||||||
|
|
||||||
if( rp->TimeSinceStart > rp->BypassLength )
|
int r = fwrite( samps, channel_ct * sizeof( float ), samples, rp->fRec );
|
||||||
|
if( r != samples )
|
||||||
{
|
{
|
||||||
rp->DunBoop = 1;
|
StopRecording( rp );
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
int r = fwrite( samps, channel_ct * sizeof( float ), samples, rp->fRec );
|
|
||||||
if( r != samples )
|
|
||||||
{
|
|
||||||
StopRecording( rp );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
force_white = 0;
|
force_white = 0;
|
||||||
|
rp->DunBoop = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
7
dmx.conf
7
dmx.conf
|
@ -1,5 +1,12 @@
|
||||||
outdrivers = DisplayDMX, OutputLinear, DisplayArray, RecorderPlugin
|
outdrivers = DisplayDMX, OutputLinear, DisplayArray, RecorderPlugin
|
||||||
|
|
||||||
|
|
||||||
|
play = 1
|
||||||
|
buffer = 512
|
||||||
|
player_filename = inchristalone.raw
|
||||||
|
recorder_filename = recfile.raw
|
||||||
|
recorder_bypass = 44100
|
||||||
|
|
||||||
byte_offset = 32
|
byte_offset = 32
|
||||||
ledoutamp = 1.0
|
ledoutamp = 1.0
|
||||||
leds = 4
|
leds = 4
|
||||||
|
|
0
embedded8266/image.elf
Executable file → Normal file
0
embedded8266/image.elf
Executable file → Normal file
0
linearpie.conf
Executable file → Normal file
0
linearpie.conf
Executable file → Normal file
Loading…
Reference in a new issue