Plays Wave file data from array
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public int Play(
byte[] waveData
)
Public Function Play (
waveData As Byte()
) As Integer
public:
int Play(
array<unsigned char>^ 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