Warzone 2100

Ticket #115 (closed defect: fixed)

Opened 9 months ago

Last modified 7 months ago

Adds a toggle for software (default) and hardware acceleration for openAL

Reported by: Buginator Owned by:
Priority: major Milestone: 2.1
Component: Engine: Sound Version: svn/trunk
Keywords: Cc:
Operating System: All/Non-Specific Blocked By:
Blocking:

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

HWopenALtoggle.patch (3.4 KB) - added by Buginator 9 months ago.
HWopenALtoggle2.patch (7.0 KB) - added by Buginator 9 months ago.
HWopenALtoggle2b.patch (7.0 KB) - added by Buginator 9 months ago.
Default to *true* now, see comment.
HWopenALtoggle3.patch (8.8 KB) - added by Buginator 9 months ago.
openal-win-software-implementation-hack.patch (0.9 KB) - added by Giel 9 months ago.
Hack for 2.1 to select "Generic Software" by default on Windows.

Change History

Changed 9 months ago by Buginator

Changed 9 months ago by Buginator

Changed 9 months 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 9 months ago by Buginator

Default to *true* now, see comment.

Changed 9 months ago by Buginator

Changed 9 months 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 9 months ago by Giel

Hack for 2.1 to select "Generic Software" by default on Windows.

Changed 9 months 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.

Changed 8 months ago by Buginator

  • status changed from new to closed
  • resolution set to fixed

This is more or less useless to all the other platforms except for XP, so, closing this, and sticking with the 'hack' patch.

Add/Change #115 (Adds a toggle for software (default) and hardware acceleration for openAL)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.