Only one device being listed

Started by shilak, December 14, 2007, 15:25:44

Previous topic - Next topic

shilak

Bit of warning, this will be the first of many questions no doubt :)

When I do the following, I am only getting a single device returned, whereas I was expecting several: -

ALC10.alcGetString(null, ALC10.ALC_DEVICE_SPECIFIER)

The resulting String is 'Generic Software' followed by two nulls to signify the end of the list of devices. Any ideas?

shilak

Another quick questions, is there any plans to provide support for Creative's extensions? i.e. multi-channel buffers, X-RAM, etc.

Matzon

Quote from: shilak on December 14, 2007, 15:55:11
Another quick questions, is there any plans to provide support for Creative's extensions? i.e. multi-channel buffers, X-RAM, etc.
yes, as soon as Creative support linux and mac with said extensions

shilak

Quote from: Matzon on December 14, 2007, 19:28:18
Quote from: shilak on December 14, 2007, 15:55:11
Another quick questions, is there any plans to provide support for Creative's extensions? i.e. multi-channel buffers, X-RAM, etc.
yes, as soon as Creative support linux and mac with said extensions

Fair enough, although supporting them on Windows should be viable without impacting the linux/mac.

Any thoughts on the question in the first post concerning only the software device being listed?

Matzon

when I run ALCTest I get:
Quotejava -cp bin; -Djava.library.path=libs\win32 org.lwjgl.test.openal.ALCTest
Default device: Generic Hardware
Available devices:
0: Generic Hardware
1: Generic Software
DEFAULT_DEVICE_SPECIFIER: Generic Hardware
DEVICE_SPECIFIER: Generic Hardware
EXTENSIONS: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EF
X
ALC_MAJOR_VERSION: 1
ALC_MINOR_VERSION: 1
Value of ALC_MAJOR_VERSION: 4096

Matzon

Quote from: shilak on December 15, 2007, 18:59:14
Fair enough, although supporting them on Windows should be viable without impacting the linux/mac.
yes, but with the attitude Creative is showing concerning OpenAL I personally wont be investing time in supporting their windows/creative hw driver only stuff
When they add a software backend to the OpenAL SI then I'll look into it. I am not going to promote their fracturing of OpenAL.

Sorry about letting off steam  ;D

shilak

I get the following: -

Default device: Generic Software
Available devices:
0: Generic Software
DEFAULT_DEVICE_SPECIFIER: Generic Software
DEVICE_SPECIFIER: Generic Software
EXTENSIONS: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX
ALC_MAJOR_VERSION: 1
ALC_MINOR_VERSION: 1
Value of ALC_MAJOR_VERSION: 4096

Something isnt right as I have a sound card that is correctly detected by other things, which version of Windows are you running on?

Matzon


shilak

Okay, got the device detection working now ...

Default device: SB X-Fi Audio [9C00]
Available devices:
0: SB X-Fi Audio [9C00]
1: Generic Hardware
2: Generic Software
DEFAULT_DEVICE_SPECIFIER: SB X-Fi Audio [9C00]
DEVICE_SPECIFIER: SB X-Fi Audio [9C00]
EXTENSIONS: None
ALC_MAJOR_VERSION: 1
ALC_MINOR_VERSION: 1
Value of ALC_MAJOR_VERSION: 4096

The problem was the presence of the wrong OpenAL32.dll in the library path, i.e. the OpenAL32.dll binary delivered with LWJGL as it was taking precedence over the Windows\System32\OpenAL32.dll that was supplied with the sound card drivers.