BASS.NET API for the Un4seen BASS Audio Library

BassApeBASS_APE_StreamCreateFileUser Method

BASS.NET API for the Un4seen BASS Audio Library
Creates a sample stream from a Monkey's Audio file via a user callback function.

Namespace:  Un4seen.Bass.AddOn.Ape
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bass_ape")]
public static int BASS_APE_StreamCreateFileUser(
	BASSStreamSystem system,
	BASSFlag flags,
	BASS_FILEPROCS procs,
	IntPtr user
)

Parameters

system
Type: Un4seen.BassBASSStreamSystem
File system to use: see BASSStreamSystem.
flags
Type: Un4seen.BassBASSFlag
Any combination of these flags: see BASSFlag.
procs
Type: Un4seen.BassBASS_FILEPROCS
The user defined file functions (see BASS_FILEPROCS).
user
Type: SystemIntPtr
User instance data to pass to the callback functions.

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

Works in the same way BASS_StreamCreateFileUser(BASSStreamSystem, BASSFlag, BASS_FILEPROCS, IntPtr) does - so for details look there.
Examples

See BASS_FILEPROCS.
See Also

Reference