Author Topic: Sound Compatibility: "Normal Writing Vs. Direct Writing"  (Read 1828 times)

Offline TempesT

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • Rated:
Sound Compatibility: "Normal Writing Vs. Direct Writing"
« on: November 19, 2012, 04:20:02 AM »
Under the options menu in R1Q2, for sound compatibility, it says "normal writing" and "direct writing". It usually says "max compatibility" and "max performance" instead. What I'm wondering is, what setting out of "normal writing" or "direct writing" would have the best sound quality? I'm looking for the highest quality sound, so out of those choices, what would bring the highest quality audio?
« Last Edit: November 19, 2012, 05:47:55 AM by TempesT »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Core 2 Duo E8400 @3.85Ghz/Radeon 4890/4GBs DDR2 @857MHz/X-Fi Titanium
https://www.youtube.com/user/shoober420

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Sound Compatibility: "Normal Writing Vs. Direct Writing"
« Reply #1 on: November 19, 2012, 04:45:45 AM »
Those two options have never had anything to do with sound quality; they are for performance. With normal writing / max compatibility, Quake writes the mixed audio stream to a buffer in memory, and informs the sound card of the length of the buffer at each frame. With direct writing / max performance, Quake maps the audio driver's memory buffer, and writes to it directly. This saves the audio driver from having to copy the user buffer at each frame. In 1997, that was sometimes a 1-3fps boost. Today, it's meaningless. I doubt you'll notice a performance difference with either, but feel free to timedemo it.

Offline TempesT

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • Rated:
Re: Sound Compatibility: "Normal Writing Vs. Direct Writing"
« Reply #2 on: November 19, 2012, 05:51:42 AM »
Thank you for the detailed explanation Jay. I did further researching between the two settings, and discovered that if you have a lower end soundcard, that you should choose normal writing/max compatibility. But, if you have a decent sound card, that you should use direct writing/max performance so you can take advantage of the DirectSound primary buffer.


Incase anyone wants to know, the cvar that controls this setting is "s_primary". A value of 0 will use "normal writing/max compatibility", and a value of 1 will use "direct writing/max performance".
« Last Edit: November 19, 2012, 07:38:49 AM by TempesT »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Core 2 Duo E8400 @3.85Ghz/Radeon 4890/4GBs DDR2 @857MHz/X-Fi Titanium
https://www.youtube.com/user/shoober420

 

El Box de Shoutamente

Last 10 Shouts:

 

|iR|Focalor

May 26, 2025, 01:17:30 PM
 

-Unh0ly-

May 22, 2025, 05:45:28 PM
 

Yotematoi

May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable  
Morir y revivir es costumbre, lástima q el QT estaba bueno
 

ImperiusDamian

May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
 

|iR|Focalor

May 11, 2025, 02:33:39 PM
 

-Unh0ly-

May 03, 2025, 08:02:46 AM
198.179.6.200:30634
 

Yotematoi

May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery." :D
 

|iR|Focalor

April 02, 2025, 02:47:07 AM

Show 50 latest
Welcome, Guest. Please login or register.
June 09, 2025, 12:46:50 AM

Login with username, password and session length