#include <AudioSample.h>
Inheritance diagram for CAudioSample:
CAudioSample is a base class for anything that's linear stream of samples.
|
|
|
|
|
Copy constructor.
|
|
|
|
Returns whether we can seek or not. When this function returns true, we can jump through the sample back and forward randomly with SeekTo. If false, we can't do this (for example, with streaming audio). |
|
|
|
|
|
|
|
|
|
Get sample-value of a channel.
Illegal offsets and channels will return 0 (silence). |
|
|
|
|
|
Set position to sample offset.
|
|
|
|
|
|
Get total number of samples. This function will return the total number of samples; for file-based samples this can be very large, more than will fit in memory. |
|
|