Author Topic: Brief freezes when voices play  (Read 1641 times)

0 Members and 1 Guest are viewing this topic.

Offline Objekt

  • 27
Brief freezes when voices play
I'm finding it a bit hard to believe no one else has ever had this issue, but...couldn't find anything, so here's the capsule summary: sometimes, when a voice clip needs to play (say, announcing the arrival of a new group of fighters), the game freezes briefly while this is happening.

It's very very very irritating.  Sometimes I get blown up because of it, for example if I'm in the middle of a dogfight.  It's as if the game freezes while the sound is starting to play, then suddenly "catches up," with all the things that should have happened during the freeze, occurring all at once.

I've had this problem in one other, older game, Comanche Gold, so I'm wondering if it's related to some kind of OS issue.

FWIW I'm running Windows 8.1 and using wxlauncher to play SCP.  So far the only mod I've tried is FSPort 3.4, maybe it's an issue specific to FSPort?

What log files could I post or other diagnoses could I perform to help figure out the problem?

 

Offline LHN91

  • 27
Re: Brief freezes when voices play
I may be corrected on this, but it sounds like the game is halting when loading sound from the hard drive.

There should be a setting in the launcher to force the game to preload the audio on mission load, which may help with this issue.

 

Offline Objekt

  • 27
Re: Brief freezes when voices play
Yes, -snd_preload is turned on but I still get these freezes.

Is anyone *not* getting these freezes?

 

Offline LHN91

  • 27
Re: Brief freezes when voices play
Let's start with what others will most certainly ask: We'll want a debug log. Instructions on how to create this are in this post: http://www.hard-light.net/forums/index.php?topic=56279.msg1180359#msg1180359

I honestly don't remember encountering these freezes, but then again I haven't played FSO in a few months.

Hopefully someone else can step in and provide more information.

  

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Brief freezes when voices play
Is anyone *not* getting these freezes?
I'm not, and I've never heard of anyone getting them before, so you may be the first person to encounter this particular problem. Congratulations/condolences.

You should post a debug log like LHN91 said, though.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.