| 287 | } |
| 288 | |
| 289 | void ClipLauncher::SampleData::Draw() |
| 290 | { |
| 291 | ofPushMatrix(); |
| 292 | ofTranslate(5, mClipLauncher->GetRowY(mIndex)); |
| 293 | DrawAudioBuffer(100, 36, mSample->Data(), 0, mSample->LengthInSamples(), mPlay ? mSample->GetPlayPosition() : -1); |
| 294 | ofPopMatrix(); |
| 295 | mGrabCheckbox->Draw(); |
| 296 | mPlayCheckbox->Draw(); |
| 297 | } |
no test coverage detected