mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Possible fix for PTT cue crash
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1188 05730e5d-ab1b-0410-a4ac-84af385074fa
This commit is contained in:
parent
833c2fcc97
commit
c8ffe27706
@ -658,11 +658,10 @@ AudioSine::~AudioSine() {
|
||||
}
|
||||
|
||||
bool AudioSine::needSamples(unsigned int snum) {
|
||||
resizeBuffer(snum);
|
||||
if (frames > 0) {
|
||||
frames--;
|
||||
|
||||
resizeBuffer(snum);
|
||||
|
||||
if (inc == 0.0) {
|
||||
if (++cntr == 50) {
|
||||
bSearch = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user