First Hi,
I am making a wrapper so QB64
http://www.qb64.net can have use of at least some parts of SFML (namely OpenGL) but i have come to a stumbling block.
In QB64 there is a command called _SNDRAW which takes data (ranging from -1 to 1) at the sample rate of the sound card. The data sent is the speakers position at that point in time -1 = fully down, 0 normal, 1 = fully up.
I would like to be able to put the data from a SoundBuffer into an array i pass from QB64 to my C++ function, so i can have access to each sample's value and then convert it to be compatible with _SNDRAW.
How do i access the values of each sample in a SoundBuffer?
In what format is the data from SoundBuffer passed to the sound card?
Any help would be great,
Many thanks,
John