Audio file

Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2007
Posts: 23
Reputation: mustoora is an unknown quantity at this point 
Solved Threads: 0
mustoora mustoora is offline Offline
Newbie Poster

Audio file

 
0
  #1
Oct 18th, 2007
Hi

I have an audio file. Each time maskcount is above 0, the file will be played. But the problem is the duration of the file is only 5 sec. So it will stop playing after 5 sec. How do i make it play continuosly for as long as the maskcount > 0?


  1. Dim someFile As String = "F:\HearingTestSimulator\pwn_wav.wav"
  2.  
  3. If maskcount > 0 Then
  4. My.Computer.Audio.Play(someFile)
  5.  
  6. ElseIf maskcount = 0 Then
  7. My.Computer.Audio.Stop()
  8. End If
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1197 | Replies: 0
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC