Hi, I am new to the Directx, Trying to get ending event while audio is ending. I came across a very strange problem, When I create the audio object on the main thread I get the event but If I try to make the object of Audio on a thread or from a callback I did not get the ending event.
I have to play an audio on a getting a request from another application on TCP/IP. Since I try to create audio form the TCP callback function. Please suggest what I need to do to get the ending event to send a response back once it is completed.