Only used internal! See the file overload of BASS_SampleLoad(BASSFiletype, IntPtr, Int64, Int64, Int32, BASSFlag) for details!
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.18.0
Syntax
[DllImportAttribute("bass", CharSet = CharSet.Unicode)] public static int BASS_SampleLoad( BASSFiletype filetype, IntPtr file, long offset, long length, int max, BASSFlag flags )
Parameters
- filetype
- Type: Un4seen.BassBASSFiletype
One of the followig: BASSFiletype. - file
- Type: SystemIntPtr
The file as described by filetype. - offset
- Type: SystemInt64
File offset to begin reading from. - length
- Type: SystemInt64
Maximum read length... 0 = to the end of the file. - max
- Type: SystemInt32
Maximum number of simultaneous playbacks... 1 (min) - 65535 (max)... use one of the BASS_SAMPLE_OVER flags to choose the override decider, in the case of there being no free channel available for playback (ie. the sample is already playing max times). - flags
- Type: Un4seen.BassBASSFlag
A combination of these flags: BASSFlag.
Return Value
Type: Int32If successful, the new stream's handle is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
See Also