P3D v5 loses DirectSound when window IS IN focus

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Post Reply
P3D SpacePort Team
Posts: 55
Joined: Mon Feb 15, 2021 5:58 pm

P3D v5 loses DirectSound when window IS IN focus

Post by P3D SpacePort Team »

Hello,

I have a DLL client in which I developed my own sound service (using DirectSound). I have this deployed in P3D v4 and v5. In P3D v4, the sound works flawlessly.

However, in P3D v5, the sound is only heard when client window is NOT in focus. As soon as the window is placed IN focus, sound is gone.

Is there any remedy for this?

Thanks,
Mitch
P3D SpacePort Team
www.terrabuilder.com
https://www.youtube.com/user/TBAdmin
Post Reply