]> Dogcows Code - chaz/yoink/blobdiff - src/moof/sound.cc
further implementing runloop support
[chaz/yoink] / src / moof / sound.cc
index f3060540eba005087560423b4dcdb0d167a524c6..34c30ce78929b172d2165bad3eff78fec4c2081b 100644 (file)
@@ -393,7 +393,7 @@ public:
                        else alDeleteBuffers(1, &buf);
                }
 
-               if (stream_timer_.is_valid() && 0 < target_diff)
+               if (stream_timer_.mode() != timer::invalid && 0 < target_diff)
                {
                        for (int i = 0; i < target_diff; ++i)
                        {
This page took 0.021288 seconds and 4 git commands to generate.