add libsamplerate0-dev to README
removing EVENT from debug
fix a state issue in base reader
same in writer