]> git.tdb.fi Git - libs/al.git/blobdiff - source/streamer.cpp
Two more atribute setting functions in Source
[libs/al.git] / source / streamer.cpp
index 36545f67cab004c63b73cb27145ececa4c27fe04..99503b9b70a013e9a3266dda1e95ba7f56d76e68 100644 (file)
@@ -78,6 +78,9 @@ void Streamer::tick()
                        buffers.push_back(buf);
                }
        }
+
+       if(snd->eof())
+               snd=0;
 }
 
 } // namespace AL