MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
Player Constructor (device, mixerSampleRate, bufferSize, updatePeriod, initializeDevice)
NamespacesMPfm.PlayerPlayerPlayer(Device, Int32, Int32, Int32, Boolean)
Constructor for the Player class which requires the mixer sample rate value to be passed in parameter.
Declaration Syntax
C#Visual Basic
public Player(
	Device device,
	int mixerSampleRate,
	int bufferSize,
	int updatePeriod,
	bool initializeDevice
)
Public Sub New ( _
	device As Device, _
	mixerSampleRate As Integer, _
	bufferSize As Integer, _
	updatePeriod As Integer, _
	initializeDevice As Boolean _
)
Parameters
device (Device)
Device output
mixerSampleRate (Int32)
Mixer sample rate (default: 44100 Hz)
bufferSize (Int32)
Buffer size (default: 500 ms)
updatePeriod (Int32)
Update period (default: 10 ms)
initializeDevice (Boolean)
Indicates if the device should be initialized

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