-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dpp::on_voice_receive_combined
called only once per tick, with not enough samples
#1008
Comments
This issue has had no activity and is being marked as stale. If you still wish to continue with this issue please comment to reopen it. |
This issue has had no activity and is being marked as stale. If you still wish to continue with this issue please comment to reopen it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When subscribing to
dpp::on_voice_receive_combined
, the callback is only triggered once per audio tick (2 ticks per second, hardcoded). The audio data provided is generally only 960 stereo audio samples, or 1/25th of the expected amount.dpp::on_voice_receive
works as "expected", delivering 25x callbacks in sequence, per user, for every audio tick.To Reproduce
Steps to reproduce the behavior:
dpp::on_voice_receive_combined
Expected behavior
While not ideal behavior, one may expect that they should also get 25x callbacks of 960 samples of combined audio data per tick, instead of just one.
System Details:
Additional Context:
Patching the library to use a tick interval of 20ms instead of 500ms produces the correct number of callbacks per second (50), however, the resulting audio data is completely garbled.
The text was updated successfully, but these errors were encountered: