Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Looping Sound Files

Options
  • 21-02-2006 2:57pm
    #1
    Registered Users Posts: 361 ✭✭


    Hi I am currently trying to stop my looping file in c# using winforms and direct x9.
    When i click on the play button it creates an "Audio" object which loops until the value of a boolean variable changes. This boolean variable will change when the stop button is pressed. The problem is I cannot click on the STOP button while code is still ecectutuing withing the PLAY code block.

    Is there any way i can solve this without resorting to threads?


Advertisement