BASS.NET API for the Un4seen BASS Audio LibraryBassOpusBASS_OPUS_StreamCreateFileUser Method BASS.NET API for the Un4seen BASS Audio Library
Creates a sample stream from a OPUS file via a user callback function.

Namespace: Un4seen.Bass.AddOn.Opus
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[DllImportAttribute("bassopus.dll", CharSet = CharSet.Auto)]
public static int BASS_OPUS_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