   Hight pitch sound(DirectX)
  Heey,I have just made a simple DirectX program that loads a model and show it on the screen but everytime i run this program my computer starts making a high pitch sound. When i run some examples(Direct3D) i dont got this problem. Is this a programming mistake?It is very annoying >.<Thanks in AdvanceJeffrey   
Quote:Original post by NoobinatorzNLHeey,I have just made a simple DirectX program that loads a model and show it on the screen but everytime i run this program my computer starts making a high pitch sound. When i run some examples(Direct3D) i dont got this problem. Is this a programming mistake?It is very annoying >.<Thanks in AdvanceJeffreyAssuming you don't have any sound code at all, it's mostly like due to having an integrated sound card in your motherboard. It tends to pick up frequencies from other devices. It's not really a problem per se. Getting a dedicated sound card will most likely eliminate it. It's usually only a problem when it's running at very high framerates.   ;  Let me guess, you have very high frame rate (500+ FPS)? It's common problem, try turning on Vsync, sound should be gone.   ;  Yea i just bought a new graphic card so that could be the problem.and my sound card is really outdates too thnx : )   ;  Turning on Vsync didnt work and i find it weird that this dont happen if i open a code example that excatly does the same but is coded in another way.Any solutions ?thanx in advance   ;  If it's coming from your graphics card, I wouldn't worry about it, it's just your card getting strained and the components getting a bit funky.If you do want to look into it more, start by comparing your code to a sample that doesn't cause the sound, and then find what's in your code that causes it.   ;  Oke then i guess its nothing "dangerous"thnx for the help : )   