loop a wav file using the mci control


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: loop a wav file using the mci control

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    loop a wav file using the mci control

    [Originally posted by student]

    Hi All,
    I am using mci control for playing a wav file.
    but I want to loop it untill I stopt it.
    what can I do ?
    Yours
    BES

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:loop a wav file using the mci control

    [Originally posted by Dimos Homatas]

    Well, just visit this url :
    http://www.vbapi.com/ref/p/playsound.html
    This API function has a parameter for looping the sound played, and also a parameter to stop it.
    You just have to call the function twice ; first time to play the sound, second time to stop the sound. Of course, you cant use the mci device... But you ll find the API much much better...

    Regards

    Dimos Homatas

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Can this API loop MID files?

    [Originally posted by Gary Stishan]

    Hi, can this API play MID files?
    If not, how can I do that as background music?
    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center