MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
InitWASAPI Method (deviceId, frequency, channels, init, wasapiInit, buffer, period, proc)
NamespacesMPfm.Sound.BassNetWrapperBaseInitWASAPI(Int32, Int32, Int32, BASSInit, BASSWASAPIInit, Single, Single, WASAPIPROC)
Initializes a WASAPI device by its identifier, using the specified sample rate (frequency) and initialization flags. To get the deviceId, use the DeviceHelper class. Requires a data callback.
Declaration Syntax
C#Visual Basic
public static void InitWASAPI(
	int deviceId,
	int frequency,
	int channels,
	BASSInit init,
	BASSWASAPIInit wasapiInit,
	float buffer,
	float period,
	WASAPIPROC proc
)
Public Shared Sub InitWASAPI ( _
	deviceId As Integer, _
	frequency As Integer, _
	channels As Integer, _
	init As BASSInit, _
	wasapiInit As BASSWASAPIInit, _
	buffer As Single, _
	period As Single, _
	proc As WASAPIPROC _
)
Parameters
deviceId (Int32)
Device identifier
frequency (Int32)
Sample rate (in Hz)
channels (Int32)
Number of channels
init (BASSInit)
Intiailization flags
wasapiInit (BASSWASAPIInit)
WASAPI initialization flags
buffer (Single)
Buffer size
period (Single)
Update period
proc (WASAPIPROC)
WASAPI callback

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