MPMA Framework 0.4
Namespaces | Functions
SaveToFile.cpp File Reference

Save a sound source to a file. More...

Namespaces

namespace  AUDIO
 

Sound playback and streaming.


Functions

bool AUDIO::SaveSourceToWaveFile (const std::string &filename, std::shared_ptr< AUDIO::Source > source, const std::string fileComment="")
 Saves the a finite audio source to a wave file. If source is infinite or on failure, returns false.
bool AUDIO::SaveSourceToVorbisFileVBR (const std::string &filename, std::shared_ptr< AUDIO::Source > source, float vbrQuality, const std::string fileComment="")
 Saves the a finite audio source to an ogg vorbis file using variable bit rate encoding. If source is infinite or on failure, returns false. vbrQuality may be from -0.1 to 1.0. 0.4 is roughly 128kbps.

Detailed Description

Save a sound source to a file.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends