2010-09-09 6 views

Répondre

2

Vous devez faire quelque chose comme ce qui suit:

private void PlaySoundFromBytes(byte[] rawSoundBytes) 
{ 
    Stream rawStream = new MemoryStream(rawSoundBytes); 
    var player = new SoundPlayer(rawStream); 
    player.Play(); 
} 
+0

Merci you.By la manière, à quelle heure est-il maintenant ? – Bennet

+0

21h30, heure de Saint-Louis. ??? – JoshVarga

+0

I en Asia.So ... – Bennet