![]() | The number of bytes of buffer left to write to. This is updated when AddData is used to write sample data out. When this is zero the whole sample can be persisted by calling WriteSample |
![]() | The length of the buffer. This relates to Length and is calculated by StartWrite (assumes a fixed bitrate) |
![]() | The codec (data encoding) of the sample |
![]() | The end position (in global units) of the sample, relative to the start of the choon. Note that StartPosition, EndPosition and Length are kept related. |
![]() | The path (absolute or relative) of the external file this sample is persisted to. |
![]() | The index of this sample. This corresponds to the 'sample.index' attribute and is *not* necessarily the index in Samples. |
![]() | The length (in global units) of the sample Note that StartPosition, EndPosition and Length are kept related. |
![]() | Access the 'sample.loop' attribute. This is the number of times to loop the sample, or zero for no loop. |
![]() | Access the 'sample.mute' boolean attribute |
![]() | The name of this sample. |
![]() | The index (into Parts of the part this sample is in. |
![]() | True if the sample is just a reference to an earlier sample. |
![]() | The format of the sample |
![]() | The name of the section this sample is in. Optional. Must match in entry in Sections if present. |
![]() | Access the 'sample.skip' boolean attribute |
![]() | The start position (in global units) of the sample, relative to the start of the choon. |
![]() | Add data to a sample |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Start writing a sample. This sets up a data buffer into which sample data gets written A converter typically calls StartWrite, then AddData to add data until the buffer is full, then WriteSample to write the sample data out |
![]() | Returns a String that represents the current Object. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
Sample Class | ChoonML Namespace