Nearly finished shared_ptr, and getPtr(). Tests not rewritten yet.

This commit is contained in:
Nicolay Korslund 2010-01-01 14:34:46 +01:00
parent 38501777b0
commit eaf93691d5
8 changed files with 47 additions and 49 deletions

View file

@ -17,15 +17,7 @@ class SampleSource : public Stream::Stream
bool isEof;
public:
SampleSource()
{
// These are usually not needed for sound data
isSeekable = false;
hasPosition = false;
hasSize = false;
isEof = false;
}
SampleSource() : isEof(false) {}
/// Get the sample rate, number of channels, and bits per
/// sample. NULL parameters are ignored.