comparison jssplr.c @ 146:3226778033fd

Move variable a bit further into the block where it is actually used.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 05 Oct 2012 09:38:35 +0300
parents e4d6947c2606
children 969cefb2f8c3
comparison
equal deleted inserted replaced
145:e4d6947c2606 146:3226778033fd
1427 */ 1427 */
1428 void jmpExec(void *pDEV, void *pMP) 1428 void jmpExec(void *pDEV, void *pMP)
1429 { 1429 {
1430 JSSPlayer *mp; 1430 JSSPlayer *mp;
1431 JSSMixer *dev; 1431 JSSMixer *dev;
1432 int channel, flags; 1432 int channel;
1433 1433
1434 // Check some things via assert() 1434 // Check some things via assert()
1435 mp = (JSSPlayer *) pMP; 1435 mp = (JSSPlayer *) pMP;
1436 JSS_LOCK(mp); 1436 JSS_LOCK(mp);
1437 1437
1550 1550
1551 // Update player data to audio device/mixer 1551 // Update player data to audio device/mixer
1552 for (channel = 0; channel < mp->module->nchannels; channel++) 1552 for (channel = 0; channel < mp->module->nchannels; channel++)
1553 { 1553 {
1554 JSSPlayerChannel *chn = &mp->channels[channel]; 1554 JSSPlayerChannel *chn = &mp->channels[channel];
1555 int flags;
1555 1556
1556 // Process extended instruments 1557 // Process extended instruments
1557 jmpProcessExtInstrument(chn, channel); 1558 jmpProcessExtInstrument(chn, channel);
1558 1559
1559 // Check NDFlags and update channel data 1560 // Check NDFlags and update channel data