while ( !isClosing() )
{
int actuallyRead = targetDataLine.read(data, 0, data.length);
if ( actuallyRead > 0 )
{
final BufferTransferHandler handler = (BufferTransferHandler)transferHandlerHolder.getObject();
if (handler != null)
{
if ( !jitterBuffer.put(data) )
{
// not called when the jitterBuffer dropped a buffer
handler.transferData(MyPushBufferStream.this);
}
}
}
else
{