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

Author Topic: No stereo sound on Linux with CSFML  (Read 2597 times)

0 Members and 2 Guests are viewing this topic.

gibbonsja

  • Newbie
  • *
  • Posts: 1
    • View Profile
No stereo sound on Linux with CSFML
« on: February 06, 2017, 05:44:28 am »
I am trying to integrate SFML (via CSFML) into an open source array language. All works with the exception that I am not getting stereo when I am playing a stereo wav file.

I am using a test wav file which has clear separation of left and right channels. If I play it using alsaplayer I get the right effects in the left and right headphones but when I play it using a Sound/SoundBuffer combination it comes out on both speakers.

The SoundBuffer reports the right number of channels (2) for the loaded file and I am not using any spatialisation here.


eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: No stereo sound on Linux with CSFML
« Reply #1 on: February 06, 2017, 03:06:48 pm »
What SFML version? What CSFML version? What OS distro and version? What GPU driver?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything