try
{
for (ClonedDataSource clone : clones)
{
final ClonedDataSource.ClonedPullBufferStream clonedStream = (ClonedDataSource.ClonedPullBufferStream) clone.getStreams()[streamIndex];
clonedStream.getBufferQueue().put((Buffer) originalBuffer.clone());
}
}
catch (InterruptedException e)
{
logger.log(Level.WARNING, "" + e, e);