Results 1 to 10 of 10

Thread: DX8 Play LOOP Help

Threaded View

  1. #2
    The Idiot
    Join Date
    Dec 2014
    Posts
    3,002

    Re: DX8 Play LOOP Help

    Im using DirectSound8 typelib that The trick shared.

    if I want a "normal" play, and not looped, I need to continuously check if the sound is done.
    I use the "GetStatus" to know that.
    after that is easy, I use the SetCurrentPosition parameter to whatever I want it to and start playing.
    it is also possible to use the GetCurrentPosition to know where u are at for better precision.

    maybe its possible to make some kind of hooking, that will raise when the sound is done playing, but not sure how to do that.

    also, GetCurrentPosition will return the "memory" position so far of the wave, so the total is the Buffer size of the stream converted using the acmStream* API
    Last edited by baka; Nov 7th, 2021 at 10:47 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width