DirectSound Detection of playing sound

Last post 03-09-2008, 11:47 PM by jwatte. 1 replies.
Sort Posts: Previous Next
  •  03-09-2008, 10:01 PM

    DirectSound Detection of playing sound

    Dear all,

    I was wondering if there is a way to detect if the sound file is still currently playing using DirectSound.So that i could do some event handling

    Your advices will be appreciated

    Regards

    Leonardo

  •  03-09-2008, 11:47 PM

    Re: DirectSound Detection of playing sound

    If you started the sound file, the yes, you can detect how long it's playing for and when it ends.

    If someone else started it, then the closest you can come is to set the sound input to record the sound output, and try to do analysis on the sound you record that way.


    --
    Jon Watte, Direct3D MVP
    kW X-port 3ds Max .X exporter
    14 days after getting my RROD box back, it's going back for service again. Grr.
View as RSS news feed in XML
©2007 Microsoft Corporation. All rights reserved. Privacy Statement Terms of Use Code of Conduct Feedback