Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: distorted sound in windows xp  (Read 5403 times)

0 Members and 3 Guests are viewing this topic.

kemondori

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
distorted sound in windows xp
« on: October 25, 2013, 03:46:56 pm »
Hi, just tried to run an application that loads a wav and plays it.
On windows 7 it runs fine, but on 3 computers with windows xp the sound seems distorted. Even tried to execute your sample sound.exe and there is the same problem.
Tried to use headphones and nothing changes, with wmp and vlc the audios are ok.
obviously all dlls were placed in the folder.

So, is it a problem of windows itself? there is some setting that i have to change?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: distorted sound in windows xp
« Reply #1 on: October 25, 2013, 03:52:20 pm »
Quote
obviously all dlls were placed in the folder
Including the OpenAL32.dll file from the SFML SDK?
Laurent Gomila - SFML developer

kemondori

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: distorted sound in windows xp
« Reply #2 on: October 25, 2013, 03:56:48 pm »
Quote
obviously all dlls were placed in the folder
Including the OpenAL32.dll file from the SFML SDK?
every dll from the folder SFML-2.1\bin

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: distorted sound in windows xp
« Reply #3 on: October 25, 2013, 03:57:16 pm »
Hard to tell where the issue really is. It could be a driver issue with the given software, the issue could be in openal, it could be in the decoder or it could be in SFML itself.

Do you get any kind of output on the console? And is the audio driver up to date?

You could start by running other applications that use OpenAL and see how they handle audio. Then I recommend to recompile SFML and your game on XP itself. Other than that, I'm not sure what you can try...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

kemondori

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: distorted sound in windows xp
« Reply #4 on: October 25, 2013, 04:08:38 pm »
Hard to tell where the issue really is. It could be a driver issue with the given software, the issue could be in openal, it could be in the decoder or it could be in SFML itself.

Do you get any kind of output on the console? And is the audio driver up to date?

You could start by running other applications that use OpenAL and see how they handle audio. Then I recommend to recompile SFML and your game on XP itself. Other than that, I'm not sure what you can try...
as i said, the sample sound.exe have the same problem :/
i would like to try running another openal application, could you give me a link? tried to search but nothing

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: distorted sound in windows xp
« Reply #5 on: October 25, 2013, 04:13:42 pm »
as i said, the sample sound.exe have the same problem :/
That doesn't say whether it was compiled on XP or not. :P

i would like to try running another openal application, could you give me a link? tried to search but nothing
I don't know anything, just find some OpenGL based game, they most likely use OpenAL for the audio. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

kemondori

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: distorted sound in windows xp
« Reply #6 on: October 25, 2013, 04:41:59 pm »
as i said, the sample sound.exe have the same problem :/
That doesn't say whether it was compiled on XP or not. :P

i would like to try running another openal application, could you give me a link? tried to search but nothing
I don't know anything, just find some OpenGL based game, they most likely use OpenAL for the audio. ;)

Ok, tried to compile on xp and nothing changed.

with another openal application the problem persist. so it'isn't a problem of sfml.

this is really odd...

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: distorted sound in windows xp
« Reply #7 on: October 25, 2013, 04:45:20 pm »
with another openal application the problem persist. so it'isn't a problem of sfml.

Sounds like a driver issue, you should try to update your drivers  ;)
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: distorted sound in windows xp
« Reply #8 on: October 25, 2013, 04:46:57 pm »
What's the specification of the sound card?

Also an upgrade from XP is also recommended, especially since the support by Microsoft will soon go away, leaving XP users to never being fixed security issues... ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything