Bonjour à tous,
Je crée un programme pour tester la sortie audio.
Voici le programme:
J'aimerai pouvoir tester la sortie droite et gauche séparément comment faire?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 private void PlaySound(string path) { System.Media.SoundPlayer player = new System.Media.SoundPlayer(); player.SoundLocation = path; player.Load(); player.Play(); } private void button1_Click(object sender, EventArgs e) { string path = @"C:\Son001.wav"; PlaySound(path);
Merci d'avance pour vos réponses.
Cordialement
Partager