Rockbox Development > Starting Development and Compiling

openal and rockbox

(1/3) > >>

spawny:
Hello I'm a french studient in Computer Science
Excuse me for my bad english
For my project I use an MP3 player, an Sansa E200 where Rockox is already install
But I use an emulation of it
My teacher asked me to sonorized a game of the MP3 player with Openal
I have choosen the game "Pong"
Is it possible to "install" Openal on it?
And if the aswer is Yes
How can I "install" Openal on?

Thank you for your answer

bluebrother:
OpenAL is an API for audio. Rockbox audio API is completely different, and you can't simply "install" OpenAL (as well as other Linux packages) on Rockbox -- Rockbox is not a Linux port but has its own kernel. Therefore it's completely incompatible with software designed to run on any major OS. I'm not familiar with Rockbox audio API to tell how much work it would be to port OpenAL to Rockbox, but I bet it would be at least lots of work -- if it's feasible at all. As far as I can tell from the Wikipedia entry on OpenAL it is designed for 3D audio -- nothing Rockbox does. Also, I wouldn't be surprised if OpenAL used dynamic memory (haven't checked), something that Rockbox doesn't support.

saratoga:
If its just pong it'll be much easier to write your own code then to port OpenAL.

GodEater:
I'm flummoxed.

How would you write a "pong" implementation with an Audio API ?

bluebrother:

--- Quote from: GodEater on June 13, 2009, 01:24:18 PM ---How would you write a "pong" implementation with an Audio API ?

--- End quote ---

Well, technically speaking the task itself is impossible in the first place:


--- Quote from: spawny on June 13, 2009, 07:42:53 AM ---My teacher asked me to sonorized a game of the MP3 player with Openal

--- End quote ---

There is no player with OpenAL at all, so it's impossible to write a game for a player with OpenAL. Unless you create a player with OpenAL first, of course ;)

Navigation

[0] Message Index

[#] Next page

Go to full version