Play multiple sounds using SoundPlayer

后端 未结 6 495
清酒与你
清酒与你 2020-11-27 22:12

I\'m making a sampler program where each key from 1 to 9 will make a different sound. Everything works fine, but when I press two (or more) sounds at the same time, the seco

6条回答
  •  借酒劲吻你
    2020-11-27 22:52

    You'll need to use DirectX (DirectSound) or some similar API that is designed to allow the playing of multiple sounds at the same time.

提交回复
热议问题