for(int i = 0; i < 32; ++ i)
{
READ_BYTE_AS(terminator);
- if (terminator != 0xff) ++ channels;
+ if(terminator != 0xff) ++ channels;
}
d->properties.setChannels(channels);
return;
}
- if (instrumentSize >= (4+22+1+2))
+ if(instrumentSize >= (4+22+1+2))
{
if(!readU16L(sampleCount))
{
ulong sumSampleLength = 0;
ulong sampleHeaderSize = 0;
- if (sampleCount > 0)
+ if(sampleCount > 0)
{
if(!readU32L(sampleHeaderSize))
{
seek(pos + instrumentSize);
long sampleheaderPos = tell();
- for (ushort j = 0; j < sampleCount; ++ j)
+ for(ushort j = 0; j < sampleCount; ++ j)
{
seek(sampleheaderPos + sampleHeaderSize * j);
READ_U32L_AS(length);