summaryrefslogtreecommitdiff
path: root/drivers/mpc/audio_stream_mpc.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-12-15 15:42:58 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-12-15 15:42:58 -0300
commit089d7fa171e3a3305991047e82b4043d4f05783f (patch)
treea41af5ab93f6d745962e471da8dc6003e6b8e430 /drivers/mpc/audio_stream_mpc.cpp
parentbe4e40e90a5a322f6a7cec4893854ef5b15db600 (diff)
Small batch of fixes
-=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
Diffstat (limited to 'drivers/mpc/audio_stream_mpc.cpp')
-rw-r--r--drivers/mpc/audio_stream_mpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mpc/audio_stream_mpc.cpp b/drivers/mpc/audio_stream_mpc.cpp
index e1f9aacf5f..d94f57e683 100644
--- a/drivers/mpc/audio_stream_mpc.cpp
+++ b/drivers/mpc/audio_stream_mpc.cpp
@@ -275,7 +275,7 @@ void AudioStreamMPC::stop() {
}
bool AudioStreamMPC::is_playing() const {
- return active;
+ return active || (get_total() - get_todo() -1 > 0);
}
void AudioStreamMPC::set_paused(bool p_paused) {