On 06 Mar, Hannes Domani wrote : > In some cases ( write_pos - buf.begin() ) is less than ( width_ * stereo ), and then it tries to access a negative index of buf. Applied. With my kindest regards, -- Jean-Baptiste Kempf http://www.jbkempf.com/ - +33 672 704 734 Sent from my Electronic Device