MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
CreateStream Method (frequency, numberOfChannels, useFloatingPoint, streamProc)
NamespacesMPfm.Sound.BassNetWrapperChannelCreateStream(Int32, Int32, Boolean, STREAMPROC)
Creates a stream from memory using a custom callback procedure.
Declaration Syntax
C#Visual Basic
public static Channel CreateStream(
	int frequency,
	int numberOfChannels,
	bool useFloatingPoint,
	STREAMPROC streamProc
)
Public Shared Function CreateStream ( _
	frequency As Integer, _
	numberOfChannels As Integer, _
	useFloatingPoint As Boolean, _
	streamProc As STREAMPROC _
) As Channel
Parameters
frequency (Int32)
Frequency (sample rate)
numberOfChannels (Int32)
Number of channels (mono = 1, stereo = 2)
useFloatingPoint (Boolean)
Indicates if the channel should use floating point
streamProc (STREAMPROC)
Handle to the STREAMPROC callback
Return Value
Channel object

Assembly: MPfm.Sound (Module: MPfm.Sound) Version: 0.5.3.0 (0.5.3.0)