RIFF "smpl" tag cue point structure to be used with BASS_ChannelGetTags(Int32, BASSTag)
and the BASS_TAG_RIFF_SMPL option.
Inheritance Hierarchy
Un4seen.BassBASS_TAG_SMPL
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[SerializableAttribute] [StructLayoutAttribute(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)] public class BASS_TAG_SMPL
The BASS_TAG_SMPL type exposes the following members.
Properties
Name | Description | |
---|---|---|
Manufacturer |
Specifies the MMA Manufacturer code for the intended target device.
| |
MIDIPitchFraction |
Specifies the fraction of a semitone up from the specified MIDIUnityNote.
| |
MIDIUnityNote |
Specifies the MIDI note which will replay the sample at original pitch.
| |
NumSampleLoops |
Specifies the number (count) of BASS_TAG_SMPL_LOOP records that are contained in SampleLoops.
| |
Product |
Specifies the Product code of the intended target device for the Manufacturer.
| |
SampleData |
Specifies the size in bytes of the optional sampler-specific data. Sampler specific data is stored imediately following the SampleLoops records. The cbSamplerData field will be zero if no extended sampler specific information is stored in the chunk.
| |
SampleLoops |
The array of BASS_TAG_SMPL_LOOP loops (or ).
| |
SamplePeriod |
Specifies the period of one sample in nanoseconds (normally 1/nSamplesPerSec from the WAVEFORMAT structure for the RIFF WAVE file--however, this field allows fine tuning).
| |
SMPTEFormat |
Specifies the SMPTE time format used in the SMPTEOffset field.
| |
SMPTEOffset |
Specifies a time offset for the sample if it is to be syncronized or calibrated according to a start time other than 0.
|
Methods
Name | Description | |
---|---|---|
FromIntPtr |
Creates an instance of the BASS_TAG_SMPL class from a pointer.
| |
GetTag |
Gets a BASS_TAG_SMPL tag from a given channel handle.
|
Remarks
See Also