MPMA Framework 0.4
SaveToFile.h
Go to the documentation of this file.
00001 
00002 //Luke Lenhart, 2011
00003 //See /docs/License.txt for details on how this code may be used.
00004 
00005 #pragma once
00006 
00007 #include "../base/Setup.h"
00008 
00009 #ifdef MPMA_COMPILE_AUDIO
00010 
00011 #include <string>
00012 #include <memory>
00013 #include "Source.h"
00014 
00015 namespace AUDIO
00016 {
00018     bool SaveSourceToWaveFile(const std::string &filename, std::shared_ptr<AUDIO::Source> source, const std::string fileComment="");
00019 
00020 #ifdef AUDIO_OGG_VORBIS_ENABLED
00021 
00023     bool SaveSourceToVorbisFileVBR(const std::string &filename, std::shared_ptr<AUDIO::Source> source, float vbrQuality, const std::string fileComment="");
00024 
00025 #endif
00026 }
00027 
00028 #endif //#ifdef MPMA_COMPILE_AUDIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends