Eric Oulashin's C++ Audio Mixer 1.0
Namespaces | Functions
AudioFileTools.h File Reference
#include <memory>
#include <string>
#include <vector>
#include "AudioFile.h"
#include "AudioFileInfo.h"
#include "AudioFileResultType.h"
Include dependency graph for AudioFileTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  EOUtils
 

Functions

std::shared_ptr< AudioFileEOUtils::createAudioFileObjForExistingFile (const char *pFilename)
 Creates a shared pointer to an audioFile object for an existing audio file - Creates the appropriate subclass object, depending on the file format.
 
std::shared_ptr< AudioFileEOUtils::createAudioFileObjForNewFile (const char *pFilename)
 Creates a shared pointer to an audioFile object for a new (non-existing) audio file - Creates the appropriate subclass object, depending on the filename extension. If the format isn't recognized, returns a null pointer.
 
std::string EOUtils::getFileExtensionUpper (const char *pFilename)
 Returns a filename's extension in uppercase, or an empty string if there is no extension. The extension is the part of the filename after the last dot.
 
AudioFileResultType EOUtils::getAudioFileInfo (const char *pFilename, AudioFileInfo &pAudioFileInfo)
 Gets information about an audio file.
 
AudioFileResultType EOUtils::mixAudioFiles (const std::vector< std::string > &pFilenames, const std::string &pOutputFilename)
 Mixes (merges) multiple audio files into a single file.
 
AudioFileResultType EOUtils::mixAudioFiles (const std::vector< std::string > &pFilenames, std::shared_ptr< AudioFile > &pOutputAudioFile)
 Mixes (merges) multiple audio files into a single file.
 
AudioFileResultType EOUtils::mixAudioFiles (const std::vector< std::string > &pFilenames, EOUtils::AudioFile &pOutputAudioFile)
 
AudioFileResultType EOUtils::getHighestSampleValue_64bit (const std::vector< std::string > &pFilenames, int64_t &pHighestAudioSample)
 Gets the highest audio sample from a set of audio files, cast to a 64-bit integer.