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

Author Topic: 24 Bit Integer & 32 Bit Float Sample Support In sf::SoundBuffer Class  (Read 3514 times)

0 Members and 1 Guest are viewing this topic.

code.tankgauravgt

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Hii I Am Audio Developer. I Found It's Easy To Render Sound Samples In SFML Rather Than Other Libraries. Support 24 Bit Integer & 32 Bit Float Samples In SoundBuffer Class It Would Help Audio Developers To Develop Professional Quality Applications.

Thanks.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: 24 Bit Integer & 32 Bit Float Sample Support In sf::SoundBuffer Class
« Reply #1 on: January 01, 2018, 05:13:49 pm »
The audio module exposes a single sample format for simplicity. This is the same reason why textures and images expose a single pixel format.

We're not against supporting more of them, but the APIs that go with such a change are usually ugly and harder to use.

And please don't write every word with a capital letter...
Laurent Gomila - SFML developer

Phanoo

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Re: 24 Bit Integer & 32 Bit Float Sample Support In sf::SoundBuffer Class
« Reply #2 on: January 03, 2018, 03:36:24 pm »
I suggest you look at PortAudio.
Even if SFML implemented more sample formats, you'd need more advanced options like low latency device support, and such very specific things