RE: ArkBlast Countdown - Console Game 05-25-2013, 08:49 PM
#77
(05-25-2013, 08:13 PM)noize Wrote:(05-25-2013, 07:12 PM)ArkPhaze Wrote: MciSendString() is an option I came across, but it means WAV format. So encoding to WAV seems to be something of a standard based on everything I've come across so far lol...
And I know how to read that C++ code and make a C# equivalent, so that's no problem. :whistle: It's really the exact same but with P/Invoke and a few minor changes to the types.
No matter what I do though, XM, OGG, MP3, it all seems to rely on decoding and playing in a stream formatted as WAV format with the WAV header and all those parts. Perhaps except MIDI, but that's a little lame. I don't even know what I can do with MIDI, but I'm not interested anyways.
God, if people's made games with background music *and* game-driven sounds, there will be a way to do that! :headbash:
Haha, DirectX...
It's a pain in the ass for C# though. Fine in C++, because you don't have to d*ck around to get it to work. With C#, you need to create some kind of managed wrapper for the native DirectX, so that means a whole bunch more coding to do.If I wrote this in C++, I would use DirectX without any questions. I've played around with XAudio before, and it is sweeeet... :ok:
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)