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

Method cloneWithSampleRate

src/cinder/audio/linux/FileAudioLoader.cpp:546–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546SourceFileRef SourceFileAudioLoader::cloneWithSampleRate( size_t sampleRate ) const
547{
548 auto result = std::make_shared<SourceFileAudioLoader>( mDataSource, sampleRate );
549 result->setupSampleRateConversion();
550
551 return result;
552}
553
554size_t SourceFileAudioLoader::getNumChannels() const
555{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected