View Issue Details

IDProjectCategoryView StatusLast Update
0003221The Dark ModSoundpublic05.10.2017 12:48
Reporterungoliant Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product VersionTDM 1.07 
Summary0003221: TDM only supports 2 or 5.1 channel audio
Descriptioncvar s_numberofspeakers is only configurable to 2 or 6 speakers, complete with error output if you attempt to change the values.

Steps To Reproducechange s_numberOfSpeakers to any value other than "2" or "6"
Additional InformationVanilla Doom3 will accept 8 speakers (7.1 surround) and functions perfectly on all channels. not possible in TDM.
TagsNo tags attached.

Relationships

related to 0003088 closedSerpentine Port EAX/Old OpenAL to EFX/OpenAL Soft 
related to 0003222 resolved OpenAL not supported on Linux 
related to 0004629 closedSpringheel Surround Sound broken 

Activities

tels

tels

07.09.2012 09:39

developer   ~0004795

Last edited: 07.09.2012 09:39

View 2 revisions

I've change the GUI to allow 2, 6 or 8 channels, and also changed the code to allow this.

On my system, using ALSA, TDM crashes when trying to use 8 channels - my guess is the HW doesn't support this, however, it is a bit unclear why this results in a crash, and not an error and shutdown.

Using OpenAL on Linux fails, as OpenAL support is not build in (due tue missing EAX, see bug 0003222).

tels

tels

07.09.2012 09:44

developer   ~0004797

The code that resricted the setting to 2 or 6 speakers was in sys/linux/sound.cpp (OpenAL) and sys/linux/sound_alsa.cpp (ALSA).

The code in sys/win32/win_snd.cpp (IDirectSound) does not seem to have such a restriction. Have you tried using IDirectSound as interface?
tels

tels

07.09.2012 09:49

developer   ~0004798

Actually, the code in sys/win32/win_snd.cpp only handles the cases of 2 or 6 speakers. Does IDirectSound work for you? Then we could try to add 8 speakers there, too, and see if this works in IDirectSound at all.
ungoliant

ungoliant

08.09.2012 07:16

reporter   ~0004810

no idea if it works for me. please advise on how to verify functionality
tels

tels

15.09.2012 15:16

developer   ~0004833

That's a good question. I don't even see how this is ever used or enabled. Maybe when you turn openAL off, then it gets used in Windows?

s_useopenal is the relevant CVAR.
Springheel

Springheel

13.07.2013 23:50

administrator   ~0005714

Is anyone planning on working on this in the next few weeks? If not I'm going to remove it from the 2.0 list.
nbohr1more

nbohr1more

14.07.2013 02:07

developer   ~0005717

As I recall, Serpentine was planning a code merge with Dhewg's Doom 3 which includes a fix for this. At this time, I presume there will not be enough time to perform this merge before TDM 2.0?
Springheel

Springheel

14.07.2013 14:33

administrator   ~0005720

Serpentine hasn't been around for quite some time, so I would assume not.
ungoliant

ungoliant

18.07.2013 17:08

reporter   ~0005774

Tels is still working on this and eax issues for 2.0, and still awaiting Serpentine to get back. I'm doing testing with this issue as well. But tels hasn't been around either....
still, I'd leave this one alone for now.
Springheel

Springheel

18.07.2013 17:15

administrator   ~0005775

Tels unassigned all his bugtracker issues and hasn't logged into the forum for two months. I'm going to assume this won't make 2.0.

Issue History

Date Modified Username Field Change
06.09.2012 18:06 ungoliant New Issue
07.09.2012 08:15 tels Assigned To => tels
07.09.2012 08:15 tels Status new => assigned
07.09.2012 08:16 tels Severity normal => minor
07.09.2012 08:16 tels OS Windows =>
07.09.2012 08:16 tels OS Version 7 =>
07.09.2012 08:16 tels Platform x64 =>
07.09.2012 09:19 tels Relationship added related to 0003222
07.09.2012 09:39 tels Note Added: 0004795
07.09.2012 09:39 tels Status assigned => feedback
07.09.2012 09:39 tels Note Edited: 0004795 View Revisions
07.09.2012 09:44 tels Note Added: 0004797
07.09.2012 09:49 tels Note Added: 0004798
08.09.2012 07:16 ungoliant Note Added: 0004810
08.09.2012 07:16 ungoliant Status feedback => assigned
15.09.2012 15:16 tels Note Added: 0004833
20.09.2012 18:41 tels Target Version => TDM 2.00
26.11.2012 18:03 tels Assigned To tels =>
26.11.2012 18:04 tels Status assigned => confirmed
12.05.2013 11:36 tels Relationship added related to 0003088
13.07.2013 23:50 Springheel Note Added: 0005714
14.07.2013 02:07 nbohr1more Note Added: 0005717
14.07.2013 14:33 Springheel Note Added: 0005720
18.07.2013 17:08 ungoliant Note Added: 0005774
18.07.2013 17:15 Springheel Note Added: 0005775
18.07.2013 17:16 Springheel Target Version TDM 2.00 =>
05.10.2017 12:48 nbohr1more Relationship added related to 0004629