BASS.NET API for the Un4seen BASS Audio LibraryBASS_TAG_SMPL ClassBASS.NET API for the Un4seen BASS Audio Library
RIFF "smpl" tag cue point structure to be used with BASS_ChannelGetTags(Int32, BASSTag) and the BASS_TAG_RIFF_SMPL option.
Inheritance Hierarchy


Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version:

[StructLayoutAttribute(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public class BASS_TAG_SMPL

The BASS_TAG_SMPL type exposes the following members.


Public propertyManufacturer
Specifies the MMA Manufacturer code for the intended target device.
Public propertyMIDIPitchFraction
Specifies the fraction of a semitone up from the specified MIDIUnityNote.
Public propertyMIDIUnityNote
Specifies the MIDI note which will replay the sample at original pitch.
Public propertyNumSampleLoops
Specifies the number (count) of BASS_TAG_SMPL_LOOP records that are contained in SampleLoops.
Public propertyProduct
Specifies the Product code of the intended target device for the Manufacturer.
Public propertySampleData
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.
Public propertySampleLoops
The array of BASS_TAG_SMPL_LOOP loops (or ).
Public propertySamplePeriod
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).
Public propertySMPTEFormat
Specifies the SMPTE time format used in the SMPTEOffset field.
Public propertySMPTEOffset
Specifies a time offset for the sample if it is to be syncronized or calibrated according to a start time other than 0.

Public methodStatic memberFromIntPtr
Creates an instance of the BASS_TAG_SMPL class from a pointer.
Public methodStatic memberGetTag
Gets a BASS_TAG_SMPL tag from a given channel handle.

Use the static GetTag(Int32) or FromIntPtr(IntPtr) methods to retrieve an instance.
See Also