diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-06-30 11:59:33 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-06-30 11:59:33 -0300 |
commit | b4d5f7e154973e8fb93a9a0af6ffa0b065e2c50c (patch) | |
tree | 67551f833464dc31c7d48e68e93b68c161e404b2 /drivers/speex/audio_stream_speex.cpp | |
parent | 4613a3f2c0d8f060cac610e2a7a401aee2ece78f (diff) | |
parent | 55b34e05b3d735a84e1af9833e19c0b816c18252 (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'drivers/speex/audio_stream_speex.cpp')
-rw-r--r-- | drivers/speex/audio_stream_speex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/speex/audio_stream_speex.cpp b/drivers/speex/audio_stream_speex.cpp index a6bac78b4d..bcf4c515f8 100644 --- a/drivers/speex/audio_stream_speex.cpp +++ b/drivers/speex/audio_stream_speex.cpp @@ -21,7 +21,7 @@ void AudioStreamSpeex::update() { //printf("update, loops %i, read ofs %i\n", (int)loops, read_ofs); //printf("playing %i, paused %i\n", (int)playing, (int)paused); - if (!playing || paused || !data.size()) + if (!active || !playing || paused || !data.size()) return; /* |