hi guys can you explain what does that greater than sign do in the follwing code
if (header->mode > forceMode)
{
*rate >>= (header->mode - forceMode); //What does this mean >>=
*granule_frame_size <<= (header->mode - forceMode); //What does this mean <<=
}
While all the answers above are correct, it’s possible you might still not understand it. You will need to understand binary.
Imagine you have the expression
7 << 2
That means “Convert 7 into binary, then shift all the bits left 2 times.”
So 7 is 00000111
shifted left twice (and inserting zeros) yeilds:
00011100
This is equal to 28.
So if the variable A is 7, and B is 2, then:
Leaves A equal to 28;