mthuurne / opendingux-kernel

Open development of Linux for Dingoo handhelds
http://dingoonity.org/
17 stars 2 forks source link

Sound Drivers needed #11

Open ILOVEPIE opened 10 years ago

ILOVEPIE commented 10 years ago

Please add the following sound drivers OSS -> ALSA PulseAudio -> ALSA OpenAL -> ALSA

mthuurne commented 10 years ago

We tried OSS compatibility mode for ALSA, but it performed rather poorly. Also the software master volume control was bypassed, making the OSS output super loud. If you have software using OSS, you can port it to libao, which has a similar push interface, unlike SDL which has a pull/callback based interface.

I don't see an advantage of PulseAudio on the Dingoo A320. It adds overhead without adding useful functionality.

OpenAL would be useful. We have an OpenAL package for OpenDingux on the GCW Zero, which could be backported. I'm not sure if it uses floating point math though; it might be unbearably slow if it does (the JZ4740 relies on softfloat, which is not fast). We don't actively maintain OpenDingux for the Dingoo A320 though, so if you are interested in adding this, it's probably better to fork it.