Ticket #115 (closed bug: fixed)
Adds a toggle for software (default) and hardware acceleration for openAL
| Reported by: | Buginator | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Engine: Sound | Version: | git/master |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Operating System: | All/Non-Specific |
Description
In short, with 'Generic Software', we have 256 sources available. With NULL (which means any device) we can end up with 16 HW sources. With the current 'sound *cough* manager', we run into too many issues with onlt 16. (Note, on windows Vista, 'Generic Software' is the default anyway, and you can't get 'Generic Hardware'). Thus, I think forcing Generic Software is a much better option for us now.
Attachments
Change History
comment:1 Changed 3 years ago by Buginator
On debian, 'Generic Software' fails. That means, we need to default it to true, so linux people can use NULL instead.
Perhaps this should be a menu option?
Changed 3 years ago by Buginator
- Attachment HWopenALtoggle2b.patch added
Default to *true* now, see comment.
comment:2 Changed 3 years ago by Buginator
Reworked the patch. On linux (& macs?), since openAL is always software, this toggle does nothing. On windows, unless you have a dedicated soundcard, then it should always default to 'Generic Software' (using creative's openAL drivers that we supply via the installer).
Either option you pick, on any platform, if you don't have 'Generic Software', then it falls back to any device available.
My tests on debian show:
ALSA Software on default
ALSA Software on Nvidia nforce 2
ALSA Software on Brooktree
OSS Software
Wave File Writer
That is with openALsoft.
I wouldn't know which one to pick automatically. So I did the patch the way I did the patch. :)
Changed 3 years ago by Giel
- Attachment openal-win-software-implementation-hack.patch added
Hack for 2.1 to select "Generic Software" by default on Windows.
comment:3 Changed 3 years ago by Giel
- Component changed from other to Engine: Sound
- Milestone set to 2.1
openal-win-software-implementation-hack.patch is intended as a hack to work around this problem for 2.1.
