fine adjustements
This commit is contained in:
parent
4b46c16539
commit
e700be4981
4
main.c
4
main.c
@ -88,9 +88,9 @@ int main (void)
|
|||||||
}
|
}
|
||||||
for(i=0;i<8;i++)
|
for(i=0;i<8;i++)
|
||||||
{
|
{
|
||||||
for(i2=1;i2<=8;i2++)
|
for(i2=1;i2<=4;i2++)
|
||||||
{
|
{
|
||||||
sample[i] = ((sample[i] + sample[i*8+i2])/2);
|
sample[i] = ((sample[i] + sample[i*6+i2])/2);
|
||||||
}
|
}
|
||||||
//avg written to sample[0..7]
|
//avg written to sample[0..7]
|
||||||
//contains values scaled to int boundarys
|
//contains values scaled to int boundarys
|
||||||
|
Loading…
Reference in New Issue
Block a user