BASS.NET API for the Un4seen BASS Audio Library

BassOfrBASS_OFR_StreamCreateFile Method (String, Int64, Int64, BASSFlag)

BASS.NET API for the Un4seen BASS Audio Library
Creates a sample stream from a OptimFROG or OptimFROG DualStream file.

This overload implements Unicode filenames. The BASS_UNICODE flag will be added automatically.

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

public static int BASS_OFR_StreamCreateFile(
	string file,
	long offset,
	long length,
	BASSFlag flags
)

Parameters

file
Type: SystemString
Filename for which a stream should be created.
offset
Type: SystemInt64
File offset to begin streaming from.
length
Type: SystemInt64
Data length... 0 = use all data up to the end of the file.
flags
Type: Un4seen.BassBASSFlag
Any combination of these flags: see BASSFlag.

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_StreamCreateFile(String, Int64, Int64, BASSFlag) does - so for details look there.
See Also

Reference