public class ChunkSamplerImpl extends ChunkImpl implements ChunkSampler
The following features are implemented:
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
manufacturer
The cached value of the '
Manufacturer ' attribute. |
protected static java.lang.Long |
MANUFACTURER_EDEFAULT
The default value of the '
Manufacturer ' attribute. |
protected static java.lang.Long |
MIDI_PITCH_FRACTION_EDEFAULT
The default value of the '
Midi Pitch Fraction ' attribute. |
protected static java.lang.Long |
MIDI_UNITY_NOTE_EDEFAULT
The default value of the '
Midi Unity Note ' attribute. |
protected java.lang.Long |
midiPitchFraction
The cached value of the '
Midi Pitch Fraction ' attribute. |
protected java.lang.Long |
midiUnityNote
The cached value of the '
Midi Unity Note ' attribute. |
protected static java.lang.Long |
NUMBER_OF_SAMPLE_LOOPS_EDEFAULT
The default value of the '
Number Of Sample Loops ' attribute. |
protected java.lang.Long |
product
The cached value of the '
Product ' attribute. |
protected static java.lang.Long |
PRODUCT_EDEFAULT
The default value of the '
Product ' attribute. |
protected static java.lang.Long |
SAMPLE_PERIOD_EDEFAULT
The default value of the '
Sample Period ' attribute. |
protected |
sampleLoops
The cached value of the '
Sample Loops ' containment reference list. |
protected java.lang.Long |
samplePeriod
The cached value of the '
Sample Period ' attribute. |
protected static byte[] |
SAMPLER_DATA_EDEFAULT
The default value of the '
Sampler Data ' attribute. |
protected static java.lang.Long |
SAMPLER_DATA_SIZE_EDEFAULT
The default value of the '
Sampler Data Size ' attribute. |
protected byte[] |
samplerData
The cached value of the '
Sampler Data ' attribute. |
protected static java.lang.Long |
SMPTE_FORMAT_EDEFAULT
The default value of the '
Smpte Format ' attribute. |
protected static java.lang.Long |
SMPTE_OFFSET_EDEFAULT
The default value of the '
Smpte Offset ' attribute. |
protected java.lang.Long |
smpteFormat
The cached value of the '
Smpte Format ' attribute. |
protected java.lang.Long |
smpteOffset
The cached value of the '
Smpte Offset ' attribute. |
BLOCK_ALIGNED_SIZE_EDEFAULT, CHUNK_TYPE_ID_EDEFAULT, CHUNK_TYPE_ID_VALUE_EDEFAULT, SIZE_EDEFAULT
Modifier | Constructor and Description |
---|---|
protected |
ChunkSamplerImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
ChunkTypeID |
getChunkTypeID() |
int |
getChunkTypeIDValue() |
java.lang.Long |
getManufacturer() |
java.lang.Long |
getMidiPitchFraction() |
java.lang.Long |
getMidiUnityNote() |
java.lang.Long |
getNumberOfSampleLoops() |
java.lang.Long |
getProduct() |
|
getSampleLoops() |
java.lang.Long |
getSamplePeriod() |
byte[] |
getSamplerData() |
java.lang.Long |
getSamplerDataSize() |
long |
getSize() |
java.lang.Long |
getSmpteFormat() |
java.lang.Long |
getSmpteOffset() |
void |
init(RIFFWave riffWave,
ExtendedByteBuffer buf) |
void |
setManufacturer(java.lang.Long newManufacturer) |
void |
setMidiPitchFraction(java.lang.Long newMidiPitchFraction) |
void |
setMidiUnityNote(java.lang.Long newMidiUnityNote) |
void |
setProduct(java.lang.Long newProduct) |
void |
setSamplePeriod(java.lang.Long newSamplePeriod) |
void |
setSamplerData(byte[] newSamplerData) |
void |
setSmpteFormat(java.lang.Long newSmpteFormat) |
void |
setSmpteOffset(java.lang.Long newSmpteOffset) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
getBlockAlignedSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBlockAlignedSize
protected static final java.lang.Long MANUFACTURER_EDEFAULT
Manufacturer
' attribute.
getManufacturer()
protected java.lang.Long manufacturer
Manufacturer
' attribute.
getManufacturer()
protected static final java.lang.Long PRODUCT_EDEFAULT
Product
' attribute.
getProduct()
protected java.lang.Long product
Product
' attribute.
getProduct()
protected static final java.lang.Long SAMPLE_PERIOD_EDEFAULT
Sample Period
' attribute.
getSamplePeriod()
protected java.lang.Long samplePeriod
Sample Period
' attribute.
getSamplePeriod()
protected static final java.lang.Long MIDI_UNITY_NOTE_EDEFAULT
Midi Unity Note
' attribute.
getMidiUnityNote()
protected java.lang.Long midiUnityNote
Midi Unity Note
' attribute.
getMidiUnityNote()
protected static final java.lang.Long MIDI_PITCH_FRACTION_EDEFAULT
Midi Pitch Fraction
' attribute.
getMidiPitchFraction()
protected java.lang.Long midiPitchFraction
Midi Pitch Fraction
' attribute.
getMidiPitchFraction()
protected static final java.lang.Long SMPTE_FORMAT_EDEFAULT
Smpte Format
' attribute.
getSmpteFormat()
protected java.lang.Long smpteFormat
Smpte Format
' attribute.
getSmpteFormat()
protected static final java.lang.Long SMPTE_OFFSET_EDEFAULT
Smpte Offset
' attribute.
getSmpteOffset()
protected java.lang.Long smpteOffset
Smpte Offset
' attribute.
getSmpteOffset()
protected static final java.lang.Long NUMBER_OF_SAMPLE_LOOPS_EDEFAULT
Number Of Sample Loops
' attribute.
getNumberOfSampleLoops()
protected static final java.lang.Long SAMPLER_DATA_SIZE_EDEFAULT
Sampler Data Size
' attribute.
getSamplerDataSize()
protectedsampleLoops
Sample Loops
' containment reference list.
getSampleLoops()
protected static final byte[] SAMPLER_DATA_EDEFAULT
Sampler Data
' attribute.
getSamplerData()
protected byte[] samplerData
Sampler Data
' attribute.
getSamplerData()
public void init(RIFFWave riffWave, ExtendedByteBuffer buf) throws RiffWaveException
ChunkImpl
init
in interface Chunk
init
in class ChunkImpl
RiffWaveException
protected EClass eStaticClass()
eStaticClass
in class ChunkImpl
public java.lang.Long getManufacturer()
getManufacturer
in interface ChunkSampler
ChunkSampler.setManufacturer(Long)
,
WavPackage.getChunkSampler_Manufacturer()
public void setManufacturer(java.lang.Long newManufacturer)
setManufacturer
in interface ChunkSampler
newManufacturer
- the new value of the 'Manufacturer' attribute.ChunkSampler.getManufacturer()
public java.lang.Long getProduct()
getProduct
in interface ChunkSampler
ChunkSampler.setProduct(Long)
,
WavPackage.getChunkSampler_Product()
public void setProduct(java.lang.Long newProduct)
setProduct
in interface ChunkSampler
newProduct
- the new value of the 'Product' attribute.ChunkSampler.getProduct()
public java.lang.Long getSamplePeriod()
getSamplePeriod
in interface ChunkSampler
ChunkSampler.setSamplePeriod(Long)
,
WavPackage.getChunkSampler_SamplePeriod()
public void setSamplePeriod(java.lang.Long newSamplePeriod)
setSamplePeriod
in interface ChunkSampler
newSamplePeriod
- the new value of the 'Sample Period' attribute.ChunkSampler.getSamplePeriod()
public java.lang.Long getMidiUnityNote()
getMidiUnityNote
in interface ChunkSampler
ChunkSampler.setMidiUnityNote(Long)
,
WavPackage.getChunkSampler_MidiUnityNote()
public void setMidiUnityNote(java.lang.Long newMidiUnityNote)
setMidiUnityNote
in interface ChunkSampler
newMidiUnityNote
- the new value of the 'Midi Unity Note' attribute.ChunkSampler.getMidiUnityNote()
public java.lang.Long getMidiPitchFraction()
getMidiPitchFraction
in interface ChunkSampler
ChunkSampler.setMidiPitchFraction(Long)
,
WavPackage.getChunkSampler_MidiPitchFraction()
public void setMidiPitchFraction(java.lang.Long newMidiPitchFraction)
setMidiPitchFraction
in interface ChunkSampler
newMidiPitchFraction
- the new value of the 'Midi Pitch Fraction' attribute.ChunkSampler.getMidiPitchFraction()
public java.lang.Long getSmpteFormat()
getSmpteFormat
in interface ChunkSampler
ChunkSampler.setSmpteFormat(Long)
,
WavPackage.getChunkSampler_SmpteFormat()
public void setSmpteFormat(java.lang.Long newSmpteFormat)
setSmpteFormat
in interface ChunkSampler
newSmpteFormat
- the new value of the 'Smpte Format' attribute.ChunkSampler.getSmpteFormat()
public java.lang.Long getSmpteOffset()
getSmpteOffset
in interface ChunkSampler
ChunkSampler.setSmpteOffset(Long)
,
WavPackage.getChunkSampler_SmpteOffset()
public void setSmpteOffset(java.lang.Long newSmpteOffset)
setSmpteOffset
in interface ChunkSampler
newSmpteOffset
- the new value of the 'Smpte Offset' attribute.ChunkSampler.getSmpteOffset()
public java.lang.Long getNumberOfSampleLoops()
getNumberOfSampleLoops
in interface ChunkSampler
WavPackage.getChunkSampler_NumberOfSampleLoops()
public java.lang.Long getSamplerDataSize()
getSamplerDataSize
in interface ChunkSampler
WavPackage.getChunkSampler_SamplerDataSize()
public byte[] getSamplerData()
getSamplerData
in interface ChunkSampler
ChunkSampler.setSamplerData(byte[])
,
WavPackage.getChunkSampler_SamplerData()
public void setSamplerData(byte[] newSamplerData)
setSamplerData
in interface ChunkSampler
newSamplerData
- the new value of the 'Sampler Data' attribute.ChunkSampler.getSamplerData()
publicgetSampleLoops()
getSampleLoops
in interface ChunkSampler
WavPackage.getChunkSampler_SampleLoops()
public ChunkTypeID getChunkTypeID()
ChunkImpl
getChunkTypeID
in interface Chunk
getChunkTypeID
in class ChunkImpl
ChunkTypeID
,
WavPackage.getChunk_ChunkTypeID()
public int getChunkTypeIDValue()
ChunkImpl
getChunkTypeIDValue
in interface Chunk
getChunkTypeIDValue
in class ChunkImpl
WavPackage.getChunk_ChunkTypeIDValue()
public long getSize()
ChunkImpl
getSize
in interface Chunk
getSize
in class ChunkImpl
WavPackage.getChunk_Size()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, java.lang.Object newValue)
public void eUnset(int featureID)
public java.lang.String toString()
public byte[] toByteArray()
ChunkImpl
toByteArray
in interface Chunk
toByteArray
in class ChunkImpl