Constructor for the Player class which requires the mixer sample rate value to be passed
in parameter.
Declaration Syntax
public Player(
Device device,
int mixerSampleRate,
int bufferSize,
int updatePeriod,
bool initializeDevice
)
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)