Creates a sample stream from a FLAC file via a user callback function.
Namespace: Un4seen.Bass.AddOn.Flac
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bassflac")] public static int BASS_FLAC_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: Int32If successful, the new stream's handle is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
Examples
See Also