MCPcopy Create free account
hub / github.com/cinder/Cinder / cloneWithSampleRate

Method cloneWithSampleRate

src/cinder/audio/cocoa/FileCoreAudio.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52SourceFileRef SourceFileCoreAudio::cloneWithSampleRate( size_t sampleRate ) const
53{
54 shared_ptr<SourceFileCoreAudio> result( new SourceFileCoreAudio( mDataSource, sampleRate ) );
55 result->setupSampleRateConversion();
56
57 return result;
58}
59
60SourceFileCoreAudio::~SourceFileCoreAudio()
61{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected