Creates a stream from memory using a custom callback procedure.
Declaration Syntax
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)