Allegro wav loop?

This is a discussion on Allegro wav loop? within the C++ Programming forums, part of the General Programming Boards category; How can you loop a wav forever until you want to stop it with allegro? thanks...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    100

    Question Allegro wav loop?

    How can you loop a wav forever until you want to stop it with allegro?


    thanks

  2. #2
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    I know this one!

    When you use play_sample(), make the last argument equal to 1. Then when you want the WAV to stop looping, use stop_sample()

    PS: If you would read the manual, it says it under the digital sample routines

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    100
    thanks....

    OH WOW!!!! A MANUAL!!! I SEE IT!!!

  4. #4
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    you have been enlightened my son

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My loop within loop won't work
    By Ayreon in forum C Programming
    Replies: 3
    Last Post: 03-18-2009, 10:44 AM
  2. A somewhat bizzare problem!!! - WHILE LOOP
    By bobthebullet990 in forum C Programming
    Replies: 3
    Last Post: 03-31-2006, 06:19 AM
  3. when a while loop will stop ?
    By blue_gene in forum C Programming
    Replies: 13
    Last Post: 04-20-2004, 03:45 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM
  5. How to change recursive loop to non recursive loop
    By ooosawaddee3 in forum C Programming
    Replies: 1
    Last Post: 06-24-2002, 08:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21