case DataBuffer.TYPE_BYTE:
data = new DataBufferByte(size, numBanks);
break;
case DataBuffer.TYPE_SHORT:
case DataBuffer.TYPE_USHORT:
data = new DataBufferShort(size, numBanks);
break;
case DataBuffer.TYPE_INT:
data = new DataBufferInt(size, numBanks);
break;
case DataBuffer.TYPE_FLOAT: