summaryrefslogtreecommitdiff
path: root/drivers/speex
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-30 11:28:43 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-30 11:28:43 -0300
commit55b34e05b3d735a84e1af9833e19c0b816c18252 (patch)
treea2e5e0020bf68a2b3ea66010dfe5f54b83403d7b /drivers/speex
parent95047562d743b1c1fdc007432c8a0c145a455c5d (diff)
-some changes by okam
Diffstat (limited to 'drivers/speex')
-rw-r--r--drivers/speex/audio_stream_speex.cpp2
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;
/*