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.
- SoundPlayer simpleSound = new SoundPlayer(@"C:\Users\Public\Music\Sample Music\file_example_WAV_1MG.wav");
- simpleSound.Play();

Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jun 8, 2020, 8:01 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Jun 7, 2020, 8:50 AM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jun 7, 2020, 7:43 AM EDT
Kd N41 reputationPosted Jun 8, 2020, 6:50 AM EDT
Kd N41 reputationPosted Jun 13, 2020, 3:38 AM EDT