Modify

Ticket #115 (closed bug: fixed)

Opened 3 years ago

Last modified 21 months ago

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

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

Change History

Changed 3 years ago by Buginator

Changed 3 years ago by Buginator

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

Default to *true* now, see comment.

Changed 3 years ago by Buginator

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

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.

comment:4 Changed 3 years 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.

comment:5 Changed 21 months ago by Buginator

  • Milestone 2.1 deleted

Milestone 2.1 deleted

View

Add a comment

Provide an email address (will not be publicly visible) in the Author field or register an account (uses your forum account).

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.