129130131132133134135136137138139
if(signed && (value & 0x800000) != 0) { value = ~(value ^ 0x7fffff) + 0x800000; } fireReceivedSample(new NiaSample(recordCounter, value)); recordCounter++; } } catch(IOException e) { }