Author Topic: Sound Compatibility: "Normal Writing Vs. Direct Writing"  (Read 1686 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:

 

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.
 

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM
 

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 25, 2024, 04:38:11 PM

Login with username, password and session length