1
Audio / How to get the current audio sample during realtime using sf::Music?
« on: April 27, 2018, 01:28:56 am »
Title says it all, really
I've been working on a FFT application, and been using sf::Sound since then. However, when playing big files (1+ minute) you can perceive some lag in it, at certain times.
How do I, then, get the same result from
I've been working on a FFT application, and been using sf::Sound since then. However, when playing big files (1+ minute) you can perceive some lag in it, at certain times.
How do I, then, get the same result from
mySoundBuffer.getSamples()[iterator]
into sf::Music
?