Creates a sample stream from an AIX encoded memory IntPtr.
This overload implements streaming from memory.
Namespace: Un4seen.Bass.AddOn.Aix
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
public static int BASS_AIX_StreamCreateFile( IntPtr memory, long offset, long length, BASSFlag flags )
Parameters
- memory
- Type: SystemIntPtr
An unmanaged pointer to the memory location as an IntPtr. - offset
- Type: SystemInt64
Offset to begin streaming from (unused for memory streams, set to 0). - length
- Type: SystemInt64
Data length (needs to be set to the length of the memory streams in bytes which should be played). - flags
- Type: Un4seen.BassBASSFlag
Any combination of these flags: see BASSFlag.
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
See Also