|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Kakshya::SoundFileContainer > MayaFlux::IO::IOManager::load_audio | ( | const std::string & | filepath, |
| LoadConfig | config = {} |
||
| ) |
Load an audio file into a SoundFileContainer.
Performs can_read check, opens the file, creates and populates the container, and configures the default ContiguousAccessProcessor with auto_advance enabled.
| filepath | Path to the audio file. |
| config | LoadConfig struct containing audio read options. |
Definition at line 216 of file IOManager.cpp.
References MayaFlux::Journal::API, MayaFlux::IO::LoadConfig::audio_options, configure_audio_processor(), MayaFlux::IO::LoadConfig::file_options, MayaFlux::Journal::FileIO, m_audio_readers, m_sample_rate, MF_ERROR, and MayaFlux::Journal::Runtime.
Here is the call graph for this function: