Emit 'segment' event for each encoded MP3 segment.

A 'segment' event emitted passes an object containing the MP3 data
buffer and the number of samples in that buffer.