Closed ghost closed 8 years ago
@SeventhSonOfASeventhSon Yeah, this is a known issue (see #2756). I'm working on this in #2768. If you like to help improving the audio concept by reviewing the code I'd be more than happy.
@agilob @tux3
Apart from physical sources, the echo (and probably other "buggy effects" like pitched voce etc.) origins from the "input gain" implementation (this scary thing with the "400" max. value). This actually alters audio data (which it never should!), before sending them via tox api, adding some spooky pow(vol^2)
to the buffer data which makes things uncontrollable (keep in mind, that both sides are sending the altered data). I didn't find a way to control the input gain directly via OpenAL. Initially I thought of applying an audio source and create an input device context (just like with output device context), but this is not allowed (Error 40961: Invalid Device). Further, setting the volume requires the audio device to be opened/initialized. Would be great, if you could also have a look at #2768.
Since it's a duplicate of #2756, closing.
When I called someone today on qTox although they had setup their audio settings properly, and so had I, I could hear an echo of my own voice slightly distorted almost immediately after I spoke, though I was the only one who could hear it. Apart from that, they also sounded a bit like a robotic sheep from time-to-time, but at least they didn't sound like a Dalek (that issue I reported and was fixed).
OS Information:
Package Information: