简体   繁体   中英

C# playing multiple sounds at once with P/Invoke

I am writing (translating) my java game engine into C# . Now I have got to play multiple sounds at once. I was targeting only the windows platform and need to support these formats.

  • WAV (PCM)
  • MIDI
  • AIFF
  • AU

For learning purposes, I want to use P/Invokes for this. Are there any P/Invokes which does these things? Searching google always pointed the SoundPlayer class but which is not what I need.

Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM