BASS.NET API for the Un4seen BASS Audio Library

BassBASS_MusicLoad Method (BASSFiletype, IntPtr, Int64, Int64, BASSFlag, Int32)

BASS.NET API for the Un4seen BASS Audio Library
Only used internal! See the file overload of BASS_MusicLoad(BASSFiletype, IntPtr, Int64, Int64, BASSFlag, Int32) 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_MusicLoad(
	BASSFiletype filetype,
	IntPtr file,
	long offset,
	long length,
	BASSFlag flags,
	int freq
)

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.
flags
Type: Un4seen.BassBASSFlag
A combination of these flags: BASSFlag.
freq
Type: SystemInt32
Sample rate to render/play the MOD music at... 0 = the rate specified in the BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) call.

Return Value

Type: Int32
If successful, the new stream's handle is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

See the other overload of BASS_MusicLoad(BASSFiletype, IntPtr, Int64, Int64, BASSFlag, Int32) for details!
See Also

Reference