Aid with getting OpenAL Audio Libraries on Eclipse Mac - c++

I have scoured the internet for help with this one. I don't typically enjoy using stack exchange because a lot of people can sometimes start fights on here, so please just bear with me. I am currently learning the C++ language, and I'm only about 2-ish weeks in. I am working with a team of new programmers, and to learn the language, we are creating a tiny text based game. We want to have the game play audio at different times, and from my hours of research, I have determined, that for cross platform audio, I want OpenAL.
The problem is: How do I use OpenAL with Eclipse and Mac? I haven't found any guides for this online, and the only OpenAL libraries I can find are all .exe files, which I can't use on mac. I also cannot find a ton of tutorials on using the OpenAL audio libraries, so if you could point me at one of those, that would be awesome.
Thanks in advance! Cheers!

Related

Porting ncurses app to IOS

I have several ncurses apps that I would love to run on my iPad. However, I don't know if this is possible. Can anyone provide thoughts? The apps are mostly financial data related and do graphing, back testing, etc.
Sounds like a complicated project, but if it's written in C, it's definitely possible. If you want some general advice, I'd google how to compile C libraries for iOS applications; you might find some success stories for libraries like libvlc or ffmpeg.
Have you tried this? https://gist.github.com/akisute/7227384
I have zero experience with ncurses, so I'm sorry I can't help any further!

Audio manipulation with C++ (Android NDK)

I have been developing a music editing Android app. I have written a considerable amount of code so far. However, due to audio latency issues encountered on the Android platform, I now realize that it is necessary to optimize my code using C/C++ (Android NDK) in order to manipulate audio files (Wav & MP3), and thus, hopefully, boost the app performance. Unfortunately, I wasn't able to find concise resources dealing with the topic.
Could anybody post code examples on how to decode wav/mp3 files and mix them using C++? Any resource would be greatly appreciated.
Here is a simple example for loading a wave file using C/C++. It will help you get the ideas :)
As far as playing it .. you would probably be best off using OpenSLES which is supported under the NDK on android.

how to write a music player in linux using ffmpeg

i have a course project in making a music player in linux with ffmpeg, can anyone give me some instruction about it. Does anyone know of any good resources for learning how to use ffmpeg? Considering I just want to write a simple music player with support for a broad range of formats and codecs, is ffmpeg too heavyweight for a project of this scope? thank you!
This is not a specific question, there are a lot of tutorials on the Internet like http://dranger.com/ffmpeg/tutorial01.html and other tutorials.

Scanning/Monitoring a specific process memory

A few days ago while playing a flash game I downloaded cheatengline just to spice up the game.
Using cheatenginge I thought to myself that it would be fun to try to make something similar myself.
So I'm wondering if anyone knows about some tutorials or articles describing how this can be done?
I've mostly found dead forums or existing libraries.
The original page is down right now (hopefully not forever!), but Google has a cache of "How I Built a Working Poker Bot". This is a good read, which includes information on how to monitor and manipulate other processes (primarily on Windows).

Playing Sound in C++

I need to play sound in C++.
It should be compatible across all platforms.
Thanks,
goerdy
Try OpenAL, FMOD or SDL_mixer. The choice is wide.
std::cout << "\a\a\a\a\a\a\a\a";
)))
My suggestion is to go with OpenAl (3D cross platform Audio API)
It's fairly easy to learn and meant to have a similar flow of programming as OpenGl. It's free and has different extensions to take advantage of sound cards. OpenAl has a library akin to OpenGl's Utility Toolkit (GLUT) that's called freealut. It makes things even simpler.
This might be a good place to get started:
http://www.devmaster.net/articles/openal/
Some of the functions in that code are deprecated but reading the documentation, you'll be able to update it.
The devmaster tutorial also teaches you how to load ogg vorbis (royalty free) files into memory and play them. You'll need to download and build libvorbis and libogg to do that but there's good documentation and, in case you're using Visual Studio, already made solutions.
The fact that Creative Labs (largest sound card manufacturer) is a major contributor to the project is a great point in it's favor. Hardware will not be ignored.
Last thing, remember to download the OpenAl SDK and link to the proper libraries and include directories. There's always a lot of people asking for specific files stored inside it.
"Compatible to all platforms" is a bit of a tall order. After all, "all platforms" includes the controller in your car, the regulator in a nuclear plant, and the router in your network.
If you mean "all desktop platforms", you may have a bit more luck. While it is impossible to produce sound in 100% standards C++, there are libraries that are available. However, I don't think that even these will get you "all platforms". Are you willing to settle for "most common platforms"?