The previous implementation of the I2C decoder used to retrieve and not
process the first sample of the input stream. Remove this instruction.
if not self.samplerate:
raise SamplerateError('Cannot decode without samplerate.')
if not self.samplerate:
raise SamplerateError('Cannot decode without samplerate.')
while True:
# State machine.
if self.state == 'FIND START':
while True:
# State machine.
if self.state == 'FIND START':