BASS.NET API for the Un4seen BASS Audio Library

BASS_FILEOPENPROCS Class

BASS.NET API for the Un4seen BASS Audio Library
Table of callback functions used with BASS_CONFIG_FILEOPENPROCS.
Inheritance Hierarchy

SystemObject
  Un4seen.BassBASS_FILEOPENPROCS

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.18.0
Syntax

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public sealed class BASS_FILEOPENPROCS

The BASS_FILEOPENPROCS type exposes the following members.

Constructors

  NameDescription
Public methodBASS_FILEOPENPROCS
Default constructor taking the callback delegates.
Top
Fields

  NameDescription
Public fieldclose
Callback function to close the file.
Public fieldlength
Callback function to get the file length.
Public fieldopen
Callback function to open the file.
Public fieldread
Callback function to read from the file.
Public fieldseek
Callback function to seek in the file. Not used by buffered file streams.
Top
Remarks

A copy is made of the procs callback function table, so it does not have to persist beyond this function call. This means it is not required to pin the 'procs' instance, but it is still required to keep a reference as long as BASS uses the callback delegates in order to prevent the callbacks from being garbage collected.
See Also

Reference