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

Author Topic: Sound right and left  (Read 2329 times)

0 Members and 1 Guest are viewing this topic.

Nothingness0x

  • Sr. Member
  • ****
  • Posts: 292
    • View Profile
Sound right and left
« on: August 04, 2010, 06:15:17 am »
Is it possible to offer the possibility in SFML to play a sound in the speaker Left or Right only ?

Because right now, it's always both and there is no way to change that, i agree that most of the time a sound is played in the center, but sometimes we gotta play a sound from a special direction.

For example, if i make a shoot noise and i want the player to hear it only with his left speaker which means that the shoot comes from the left. How can I do ?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Sound right and left
« Reply #1 on: August 04, 2010, 08:49:43 am »
Sounds are spacialized, you can change their position as well as the listener's position.
Laurent Gomila - SFML developer