PDA

View Full Version : Hello from Korea



kyw920
01-01-2012, 06:30 PM
Happy new year everyone!

I am a newbie not only in the OpenSL ES field, but also the whole programming job..

My only experience is in the OpenGL field, which is not even close to enough.

I am trying to study OpenSL ES on my own, and I have no idea how to start.

I've looked at the pdf files KHRONOS provides, but it's not helping that much.

All the languages or libraries I've used have always provided me some simple examples such as hello world for OpenGL and such, but I can't seem to find any example codes like that for OpenSL.

Could anyone help me?

Thanks!

Erik
03-20-2012, 04:35 AM
Hi kyw920,

The first part (Part 1) of the specification gives you an overview of the over all design of OpenSL ES. In addition, there is sample code in the appendices of the specification. Appendix B has sample code for specific tasks and Appendix C has sample code for various Use Cases.

When learning to program OpenSL ES, I would start with setting up a simple playback use case where your source is a local file and you send it to the default output device on the system. That way you have something easy that you can hear when you get it right, and you can build on it and hear if your modifications are working.

Best,

Erik