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() |
getBlockAlignedSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlockAlignedSizeprotected 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
ChunkImplinit in interface Chunkinit in class ChunkImplRiffWaveExceptionprotected EClass eStaticClass()
eStaticClass in class ChunkImplpublic java.lang.Long getManufacturer()
getManufacturer in interface ChunkSamplerChunkSampler.setManufacturer(Long),
WavPackage.getChunkSampler_Manufacturer()public void setManufacturer(java.lang.Long newManufacturer)
setManufacturer in interface ChunkSamplernewManufacturer - the new value of the 'Manufacturer' attribute.ChunkSampler.getManufacturer()public java.lang.Long getProduct()
getProduct in interface ChunkSamplerChunkSampler.setProduct(Long),
WavPackage.getChunkSampler_Product()public void setProduct(java.lang.Long newProduct)
setProduct in interface ChunkSamplernewProduct - the new value of the 'Product' attribute.ChunkSampler.getProduct()public java.lang.Long getSamplePeriod()
getSamplePeriod in interface ChunkSamplerChunkSampler.setSamplePeriod(Long),
WavPackage.getChunkSampler_SamplePeriod()public void setSamplePeriod(java.lang.Long newSamplePeriod)
setSamplePeriod in interface ChunkSamplernewSamplePeriod - the new value of the 'Sample Period' attribute.ChunkSampler.getSamplePeriod()public java.lang.Long getMidiUnityNote()
getMidiUnityNote in interface ChunkSamplerChunkSampler.setMidiUnityNote(Long),
WavPackage.getChunkSampler_MidiUnityNote()public void setMidiUnityNote(java.lang.Long newMidiUnityNote)
setMidiUnityNote in interface ChunkSamplernewMidiUnityNote - the new value of the 'Midi Unity Note' attribute.ChunkSampler.getMidiUnityNote()public java.lang.Long getMidiPitchFraction()
getMidiPitchFraction in interface ChunkSamplerChunkSampler.setMidiPitchFraction(Long),
WavPackage.getChunkSampler_MidiPitchFraction()public void setMidiPitchFraction(java.lang.Long newMidiPitchFraction)
setMidiPitchFraction in interface ChunkSamplernewMidiPitchFraction - the new value of the 'Midi Pitch Fraction' attribute.ChunkSampler.getMidiPitchFraction()public java.lang.Long getSmpteFormat()
getSmpteFormat in interface ChunkSamplerChunkSampler.setSmpteFormat(Long),
WavPackage.getChunkSampler_SmpteFormat()public void setSmpteFormat(java.lang.Long newSmpteFormat)
setSmpteFormat in interface ChunkSamplernewSmpteFormat - the new value of the 'Smpte Format' attribute.ChunkSampler.getSmpteFormat()public java.lang.Long getSmpteOffset()
getSmpteOffset in interface ChunkSamplerChunkSampler.setSmpteOffset(Long),
WavPackage.getChunkSampler_SmpteOffset()public void setSmpteOffset(java.lang.Long newSmpteOffset)
setSmpteOffset in interface ChunkSamplernewSmpteOffset - the new value of the 'Smpte Offset' attribute.ChunkSampler.getSmpteOffset()public java.lang.Long getNumberOfSampleLoops()
getNumberOfSampleLoops in interface ChunkSamplerWavPackage.getChunkSampler_NumberOfSampleLoops()public java.lang.Long getSamplerDataSize()
getSamplerDataSize in interface ChunkSamplerWavPackage.getChunkSampler_SamplerDataSize()public byte[] getSamplerData()
getSamplerData in interface ChunkSamplerChunkSampler.setSamplerData(byte[]),
WavPackage.getChunkSampler_SamplerData()public void setSamplerData(byte[] newSamplerData)
setSamplerData in interface ChunkSamplernewSamplerData - the new value of the 'Sampler Data' attribute.ChunkSampler.getSamplerData()publicgetSampleLoops()
getSampleLoops in interface ChunkSamplerWavPackage.getChunkSampler_SampleLoops()public ChunkTypeID getChunkTypeID()
ChunkImplgetChunkTypeID in interface ChunkgetChunkTypeID in class ChunkImplChunkTypeID,
WavPackage.getChunk_ChunkTypeID()public int getChunkTypeIDValue()
ChunkImplgetChunkTypeIDValue in interface ChunkgetChunkTypeIDValue in class ChunkImplWavPackage.getChunk_ChunkTypeIDValue()public long getSize()
ChunkImplgetSize in interface ChunkgetSize in class ChunkImplWavPackage.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()
ChunkImpltoByteArray in interface ChunktoByteArray in class ChunkImpl