Mercurial > hg > svapp
comparison audio/AudioCallbackPlaySource.cpp @ 540:0d5c3abc9658 3.0-integration
Delete audio I/O objects in a fixed order
author | Chris Cannam |
---|---|
date | Wed, 30 Nov 2016 11:44:40 +0000 |
parents | 83c60632bac0 |
children | 167d37937436 |
comparison
equal
deleted
inserted
replaced
539:630c4a9885ca | 540:0d5c3abc9658 |
---|---|
412 } | 412 } |
413 | 413 |
414 void | 414 void |
415 AudioCallbackPlaySource::play(sv_frame_t startFrame) | 415 AudioCallbackPlaySource::play(sv_frame_t startFrame) |
416 { | 416 { |
417 if (!m_target) return; | |
418 | |
417 if (!m_sourceSampleRate) { | 419 if (!m_sourceSampleRate) { |
418 cerr << "AudioCallbackPlaySource::play: No source sample rate available, not playing" << endl; | 420 cerr << "AudioCallbackPlaySource::play: No source sample rate available, not playing" << endl; |
419 return; | 421 return; |
420 } | 422 } |
421 | 423 |