Click or drag to resize
PlayerPlay Method (Byte)
Plays Wave file data from array

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public int Play(
	byte[] waveData
)

Parameters

waveData
Type: SystemByte
Wave file data

Return Value

Type: Int32

[Missing <returns> documentation for "M:Alvas.Audio.Player.Play(System.Byte[])"]

Examples
This example shows simple using of Play method.
Player pl = new Player();
byte[] arr = File.ReadAllBytes(@"in.wav");
pl.Play(arr);
See Also