mirror of
https://github.com/thestk/stk
synced 2026-01-18 07:01:53 +00:00
Removed use of register variables.
This commit is contained in:
@@ -86,9 +86,9 @@ StkFloat droneFreqs[3] = { 55.0, 82.5, 220.0 };
|
||||
// depending on the desired scheduling scheme.
|
||||
void processMessage( TickData* data )
|
||||
{
|
||||
register unsigned int value1 = data->message.intValues[0];
|
||||
register StkFloat value2 = data->message.floatValues[1];
|
||||
register StkFloat temp = value2 * ONE_OVER_128;
|
||||
unsigned int value1 = data->message.intValues[0];
|
||||
StkFloat value2 = data->message.floatValues[1];
|
||||
StkFloat temp = value2 * ONE_OVER_128;
|
||||
|
||||
switch( data->message.type ) {
|
||||
|
||||
@@ -161,7 +161,7 @@ int tick( void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames,
|
||||
double streamTime, RtAudioStreamStatus status, void *dataPointer )
|
||||
{
|
||||
TickData *data = (TickData *) dataPointer;
|
||||
register StkFloat temp, outs[2], *samples = (StkFloat *) outputBuffer;
|
||||
StkFloat temp, outs[2], *samples = (StkFloat *) outputBuffer;
|
||||
int i, voiceNote, counter, nTicks = (int) nBufferFrames;
|
||||
|
||||
while ( nTicks > 0 && !done ) {
|
||||
|
||||
Reference in New Issue
Block a user