The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenAL Questions
flibitijibibo Offline
Junior Member

Posts: 6
Threads: 1
Joined: Sep 2010
Reputation: 0
#1
Solved: 8 Years, 8 Months, 4 Weeks ago OpenAL Questions

The forum is moving at Ludicrous Speed, so I'll try to be brief:

1. EDIT: This has been resolved. Read on for solution. I'm running a 64-bit Windows machine, so OpenAL x64 will not normally recognize my Creative X-Fi card (as seen in the OpenAL SDK's Enumerate examples). Is there a way to run the game in a 32-bit mode? Alternatively, is there a config file I can edit to have it properly use the X-Fi even in 64-bit (similar to Unreal 3 games)? Quick edit: I dunno what I was thinking here. The game is always running as a 32-bit exe, it just wasn't showing up by design.

Edit: I just checked the log file and found this:
Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
  Available OpenAL devices:
   0. Generic Software on Speakers (Creative SB X-Fi)
   1. Generic Software on Line 2 (Virtual Audio Cable)
   2. Generic Software on Line 1 (Virtual Audio Cable)
   3. Generic Software on SPDIF Out (Creative SB X-Fi)
   4. SB X-Fi Audio [CCE0](OpenAL default)
  Trying to open device 'Generic Software on Speakers (Creative SB X-Fi)'... Success!
  Number of mono sources: 32
  Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------
As you can see, the X-Fi card exists in the device list, but I cannot select it from the launcher. Are there any changes I can make manually so that it loads the proper X-Fi option (as well as the voice count, if necessary)?

Solution: In "~Documents\Amnesia\main\main_settings.cfg", edit the device (Sound Device=) to the number of the X-Fi card (in my case, 4), and change the voice count (MaxChannels=)to whatever your card is capable of (in my case, 128). This will enable proper hardware acceleration!

2. I've noticed a lot of people have had issues with 5.1 audio. Would the above fix solve this issue? And if not, would a config edit solve this problem, whether one is using a Creative card or not? Working on this one now. I'm on a 2.1, so if someone wants to help, reply/PM me.

Thank you very much for your time; I'm still enjoying Amnesia very very much despite my audio nitpicking. Big Grin
09-08-2010, 08:43 PM
Find


Messages In This Thread
OpenAL Questions - by flibitijibibo - 09-08-2010, 08:43 PM
RE: OpenAL Questions - by bblaze - 09-08-2010, 09:28 PM
RE: OpenAL Questions - by flibitijibibo - 09-08-2010, 09:53 PM
RE: OpenAL Questions - by tmp75 - 09-10-2010, 08:59 AM
RE: OpenAL Questions - by Mayron - 09-10-2010, 04:09 PM
RE: OpenAL Questions - by flibitijibibo - 09-10-2010, 04:14 PM
RE: OpenAL Questions - by Mayron - 09-10-2010, 04:25 PM
RE: OpenAL Questions - by flibitijibibo - 09-10-2010, 06:16 PM
RE: OpenAL Questions - by tmp75 - 09-10-2010, 09:46 PM
RE: OpenAL Questions - by flibitijibibo - 09-10-2010, 09:52 PM
RE: OpenAL Questions - by Zanderat - 09-11-2010, 03:38 PM
RE: OpenAL Questions - by flibitijibibo - 09-11-2010, 03:44 PM
RE: OpenAL Questions - by Zanderat - 09-11-2010, 03:47 PM
RE: OpenAL Questions - by jblanc03 - 12-10-2013, 09:43 AM



Users browsing this thread: 3 Guest(s)