Mercurial > hg > svapp
comparison audio/AudioGenerator.cpp @ 613:88f9266e0417
Minor tidy
author | Chris Cannam |
---|---|
date | Mon, 13 Aug 2018 11:43:21 +0100 |
parents | 7da68349a0c5 |
children | 755fc02a1565 |
comparison
equal
deleted
inserted
replaced
612:1822563a5da1 | 613:88f9266e0417 |
---|---|
354 m_soloModelSet.clear(); | 354 m_soloModelSet.clear(); |
355 m_soloing = false; | 355 m_soloing = false; |
356 } | 356 } |
357 | 357 |
358 sv_frame_t | 358 sv_frame_t |
359 AudioGenerator::mixModel(Model *model, sv_frame_t startFrame, sv_frame_t frameCount, | 359 AudioGenerator::mixModel(Model *model, |
360 float **buffer, sv_frame_t fadeIn, sv_frame_t fadeOut) | 360 sv_frame_t startFrame, sv_frame_t frameCount, |
361 float **buffer, | |
362 sv_frame_t fadeIn, sv_frame_t fadeOut) | |
361 { | 363 { |
362 if (m_sourceSampleRate == 0) { | 364 if (m_sourceSampleRate == 0) { |
363 cerr << "WARNING: AudioGenerator::mixModel: No base source sample rate available" << endl; | 365 cerr << "WARNING: AudioGenerator::mixModel: No base source sample rate available" << endl; |
364 return frameCount; | 366 return frameCount; |
365 } | 367 } |