SFML community forums

General => Feature requests => Topic started by: code.tankgauravgt on January 01, 2018, 11:54:16 am

Title: 24 Bit Integer & 32 Bit Float Sample Support In sf::SoundBuffer Class
Post by: code.tankgauravgt on January 01, 2018, 11:54:16 am
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.
Title: Re: 24 Bit Integer & 32 Bit Float Sample Support In sf::SoundBuffer Class
Post by: Laurent 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...
Title: Re: 24 Bit Integer & 32 Bit Float Sample Support In sf::SoundBuffer Class
Post by: Phanoo 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