dosbox 072, 074 and Humans 3

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

dosbox 072, 074 and Humans 3

Postby Greenchili » 2018-1-29 @ 22:30

I know that 0.72 and 0.74 are older code bases. But I'm just trying to understand from a core point of view what may be the cause of an issue I've noticed with Humans 3. The game is set to use soundblaster 16, 220, 7, 1 and to play CD Audio because the CD contains CDDA.

In dosxbox 0.72 after you select "Start" to start a game. The CDDA music stops and there is a buzzing sound. The buzzing continues throughout the game. To me it almost sounds like the type of sound you'd get if the wrong CDDA track was selected, or wrong section of a CDDA track. However if I run the games INSTALL program and disable all sound the buzz does not occur (CDDA still plays). If I run INSTALL and change the sound card to GUS the buzz sound does not occur either (but no sound effects).

In dosxbox 0.74 the issue does not exist. Sound effects do play (opening scene with the club) with SB set as the sound card.

I've sludged through the SB code changes between 0.72 and 0.74 but non seem to resolve the issues. So I'm wondering if I'm looking in the wrong section of code. I'm just curious what may have changed in the core between 0.72 and 0.74 that fixed this problem.

Thanks
Greenchili
Newbie
 
Posts: 14
Joined: 2013-11-27 @ 05:46

Re: dosbox 072, 074 and Humans 3

Postby Qbix » 2018-1-30 @ 10:58

I am not sure if the buzzing is the wrong CDDA track. Playing a data track (which dosbox doesn't allow in 0.74), sounds really awful. (high pitches and such, not buzzing, although it depends on the data....) You can check if a data track is (attempted) to be played by checking
Code: Select all
CDROM_Interface_Image::PlayAudioSector


It might be something else though, as you said that it doesn't occur if there are no sound effects.
You could try different svn versions between 0.72 and 0.74 There are quite a few afterall.
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10556
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: dosbox 072, 074 and Humans 3

Postby Greenchili » 2018-1-30 @ 13:49

Thanks... I've been able to determine that the problem does not exist in 0.73 as well... So that narrows it down some. I'm pretty sure it is not CDDA because if I do not mount the CD drive the problem still exists. I'm pretty sure that the CD code is not called when no disc (MSCDEX) is mounted.
Greenchili
Newbie
 
Posts: 14
Joined: 2013-11-27 @ 05:46


Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 6 guests