The small buffer (8) was causing the pump to block frequently when the FLAC encoder was slow to consume data. This created micro-pauses in the PCM stream that resulted in audible clicks in the encoded FLAC files. With a larger buffer (256), the pump can continue sending data without blocking, ensuring continuous audio flow to the encoder and eliminating the clicks.