Hello Guest

Only one device being listed

  • 8 Replies
  • 12494 Views
Only one device being listed
« on: December 14, 2007, 15:25:44 »
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?

Re: Only one device being listed
« Reply #1 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.

*

Offline Matzon

  • *****
  • 2242
Re: Only one device being listed
« Reply #2 on: December 14, 2007, 19:28:18 »
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

Re: Only one device being listed
« Reply #3 on: December 15, 2007, 18:59:14 »
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?

*

Offline Matzon

  • *****
  • 2242
Re: Only one device being listed
« Reply #4 on: December 15, 2007, 20:00:19 »
when I run ALCTest I get:
Quote
java -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

*

Offline Matzon

  • *****
  • 2242
Re: Only one device being listed
« Reply #5 on: December 15, 2007, 20:02:48 »
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

Re: Only one device being listed
« Reply #6 on: December 15, 2007, 20:44:49 »
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?

*

Offline Matzon

  • *****
  • 2242
Re: Only one device being listed
« Reply #7 on: December 15, 2007, 20:52:00 »
windows xp, realtek audio

Re: Only one device being listed
« Reply #8 on: December 16, 2007, 12:18:23 »
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.