The endianess is just to increase the code portability to other systems.
You're more than welcome for the tutorial; there is a second one up now for Streaming Audio. I am planning out the next tutorial to cover audio positioning within your 3D space.
Search found 128 matches
- Thu Mar 05, 2020 2:54 am
- Forum: Game Development
- Topic: openAl sound
- Replies: 37
- Views: 55137
- Wed Mar 04, 2020 8:49 pm
- Forum: Game Development
- Topic: openAl sound
- Replies: 37
- Views: 55137
Re: openAl sound
Okay, I'm back on my dev machine. You've got a few problems in the code, if it came from the article, apologies. What you provided has some double ups of functions and some declarations are out of order which is causing that error you have. I've edited your code so that it works; compiles and plays ...
- Wed Mar 04, 2020 8:33 am
- Forum: Game Development
- Topic: openAl sound
- Replies: 37
- Views: 55137
Re: openAl sound
Hi Mckl, To fix your issue, replace this code in the main function: std::uint8_t channels; std::int32_t sampleRate; std::uint8_t bitsPerSample; std::vector<char> soundData; if (!load_wav("iamtheprotectorofthissystem.wav", channels, sampleRate, bitsPerSample, soundData)) { std::cerr << &quo...
- Wed Mar 04, 2020 1:10 am
- Forum: Game Development
- Topic: openAl sound
- Replies: 37
- Views: 55137
Re: openAl sound
Hi Mckl, I edited your post for formatting. Looks like you found an error in my code. For some reason there's a problem on the forum right now, I can't post code properly. You need to change a part of main, the load_wav to match the load_wav function declaration. (I'll try to fix the forum and post ...
- Sun Feb 23, 2020 7:18 pm
- Forum: Game Development
- Topic: Etherbound Feedback!
- Replies: 5
- Views: 15249
Re: Etherbound Feedback!
Adding a sort of tutorial where both players need to execute each move might help. But then of course, adding a tutorial mode, if you didn't plan for it, can be hard to shoehorn in later.
- Sun Feb 23, 2020 8:40 am
- Forum: Game Development
- Topic: Etherbound Feedback!
- Replies: 5
- Views: 15249
Re: Etherbound Feedback!
Hey man, so I just downloaded it and played it. My partner and I just played a few rounds, it's heaps of fun. The controls are a little bit beyond me, I couldn't get the guy flipping. My attempt at constructive feedback: It's hard to tell the two guys apart after a few flips and parry's. I would be ...
- Sat Feb 22, 2020 1:16 am
- Forum: Game Development
- Topic: How can I construct a branching narrative that allows for multiple replays?
- Replies: 3
- Views: 13005
How can I construct a branching narrative that allows for multiple replays?
I've been working on a sort-of-visual-novel for a while now called The Last Boundary . I never intended to make a visual-novel type game, but that's where I ended up (I was just aimlessly developing the rough idea of being Captain Jean-Luc Picard). So here I am in need of creating a branching narrat...
- Fri Feb 21, 2020 10:42 am
- Forum: Game Development
- Topic: Welcome
- Replies: 0
- Views: 47202
Welcome
This forum is a sort of experiment. I have heard recently from a few different people directly, and a few different people indirectly, that there's something missing in all the current GameDev forums: GameDev.net is just ugly and a mess, with weirdly low activity TigSource has a lack of community, o...