$ 0 0 it might be because you are trying to read such a low number of samples - only 100 which is just 2ms worth of sound. Try increasing the amount you read at once and see if that helps