src/cinder/audio/Io.cpp File Reference

Namespaces

namespace  cinder
namespace  cinder::audio

Functions

SourceRef cinder::audio::load (const std::string &path, std::string extension="")
 Loads an audio from the file path path. Optional extension parameter allows specification of a file type. For example, "mp3" would force the file to load as a MP3.
SourceRef cinder::audio::load (DataSourceRef dataSource, std::string extension="")
 Loads an audio from dataSource. Optional extension parameter allows specification of a file type. For example, "mp3" would force the file to load as a MP3.