mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-08 11:38:19 +03:00
Nearly finished shared_ptr, and getPtr(). Tests not rewritten yet.
This commit is contained in:
parent
38501777b0
commit
eaf93691d5
8 changed files with 47 additions and 49 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue