5
Answers

Audio length calculation

Kd N

Kd N

4y
2.2k
1
Hi,
 
I am working on audio file in C#, can any one help me to know how to calculate audio lenght in C# to show it on progress bar.
  1. SoundPlayer simpleSound = new SoundPlayer(@"C:\Users\Public\Music\Sample Music\file_example_WAV_1MG.wav");  
  2. simpleSound.Play(); 
Answers (5)