XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

DirectSound Detection of playing sound

Last post 03-09-2008 11:47 PM by jwatte. 1 replies.
  • 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 In reply to

    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 kW Animation source code
Page 1 of 1 (2 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG