| 188 | } |
| 189 | |
| 190 | void Sample::Play(double startTime, float rate /*=1*/, int offset /*=0*/, int stopPoint /*=-1*/) |
| 191 | { |
| 192 | mPlayMutex.lock(); |
| 193 | mStartTime = startTime; |
| 194 | mOffset = offset; |
| 195 | mRate = rate; |
| 196 | if (stopPoint != -1) |
| 197 | SetStopPoint(stopPoint); |
| 198 | else |
| 199 | ClearStopPoint(); |
| 200 | mPlayMutex.unlock(); |
| 201 | } |
| 202 | |
| 203 | bool Sample::ConsumeData(double time, ChannelBuffer* out, int size, bool replace) |
| 204 | { |
no outgoing calls
no test coverage detected