com.sun.media
类 ExtBuffer
java.lang.Object
javax.media.Buffer
com.sun.media.ExtBuffer
public class ExtBuffer
- extends Buffer
从类 javax.media.Buffer 继承的字段 |
data, duration, FLAG_BUF_OVERFLOWN, FLAG_BUF_UNDERFLOWN, FLAG_DISCARD, FLAG_EOM, FLAG_FLUSH, FLAG_KEY_FRAME, FLAG_LIVE_DATA, FLAG_NO_DROP, FLAG_NO_SYNC, FLAG_NO_WAIT, FLAG_RELATIVE_TIME, FLAG_RTP_MARKER, FLAG_RTP_TIME, FLAG_SID, FLAG_SILENCE, FLAG_SYSTEM_MARKER, FLAG_SYSTEM_TIME, flags, format, header, length, offset, SEQUENCE_UNKNOWN, sequenceNumber, TIME_UNKNOWN, timeStamp |
从类 javax.media.Buffer 继承的方法 |
clone, copy, getDuration, getFlags, getFormat, getHeader, getLength, getOffset, getSequenceNumber, getTimeStamp, isDiscard, isEOM, setDiscard, setDuration, setEOM, setFlags, setFormat, setHeader, setLength, setOffset, setSequenceNumber, setTimeStamp |
从类 java.lang.Object 继承的方法 |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nativeData
protected NBA nativeData
nativePreferred
protected boolean nativePreferred
ExtBuffer
public ExtBuffer()
setNativeData
public void setNativeData(NBA nativeData)
getNativeData
public NBA getNativeData()
isNativePreferred
public boolean isNativePreferred()
setNativePreferred
public void setNativePreferred(boolean prefer)
getData
public java.lang.Object getData()
- 从类
Buffer
复制的描述
- Gets the internal data object that holds the media chunk contained in this
Buffer
.
- 覆盖:
- 类
Buffer
中的 getData
- 返回:
- The data object that holds the media chunk for this
Buffer
.
It can be an array type (such as byte[]) or any other type
of object. Use instanceOf
to determine what type it is. - 另请参见:
Buffer.data
setData
public void setData(java.lang.Object data)
- 从类
Buffer
复制的描述
- Sets the internal data object that holds the media chunk.
- 覆盖:
- 类
Buffer
中的 setData
- 参数:
data
- The data object that holds the media data chunk for this Buffer
.
It can be an array type (such as byte[]) or any other type
of object.- 另请参见:
Buffer.data
copy
public void copy(Buffer buffer,
boolean swap)
- Copy the attributes from the specified
Buffer
into this
Buffer
- 覆盖:
- 类
Buffer
中的 copy
- 参数:
buffer
- The input Buffer
the copy the attributes from.swap
- Specifies whether the data objects are to be swapped.