add query

This commit is contained in:
Glenn Maynard
2002-12-18 06:55:39 +00:00
parent e5967a24bf
commit b3dbe5cf27
+3
View File
@@ -106,6 +106,9 @@ public:
void SetLooping(bool yes=true) { Loop=yes; }
bool GetLooping() const { return Loop; }
/* Query only: */
bool IsStreaming() const { return big; }
/* Called only by the sound drivers: */
/* This function should return the number of bytes actually put into buffer.
* If less than size is returned, it signals the stream to stop; once it's