|
Eric Oulashin's C++ Audio Mixer 1.0
|
#include <iostream>#include <string>#include <fstream>#include <vector>#include <filesystem>#include <memory>#include "WAVFile.h"#include "FLACFile.h"#include "AudioFileTools.h"#include "AudioFileResultType.h"
Classes | |
| struct | ProgOptions |
| struct | AudioFileMixOptions |
| class | WAVFile |
| class | FLACFile |
Functions | |
| void | showProgramHelp () |
| ProgOptions | parseCommandLine (int argc, char *argv[]) |
| AudioFileMixOptions | readAudioFileList (const string &pFilename, vector< string > &pErrorMsgs, vector< string > &pNonexistentFiles) |
| int | main (int argc, char *argv[]) |
| std::shared_ptr< AudioFile > | 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. | |
| AudioFileResultType | mixAudioFiles (const std::vector< std::string > &pFilenames, const std::string &pOutputFilename) |
| Mixes (merges) multiple audio files into a single file. | |
| shared_ptr< AudioFile > EOUtils::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.
| [in] | pFilename | The name of the audio file |
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] ) |
| AudioFileResultType EOUtils::mixAudioFiles | ( | const std::vector< std::string > & | pFilenames, |
| const std::string & | pOutputFilename ) |
Mixes (merges) multiple audio files into a single file.
| [in] | pFilenames | A collection of filenames of audio files to mix |
| [out] | pOutputFilename | The filename for the resulting mixed audio file |
Referenced by main().
| ProgOptions parseCommandLine | ( | int | argc, |
| char * | argv[] ) |
References ProgOptions::audioFileListFilename, showProgramHelp(), and ProgOptions::verbose.
Referenced by main().
| AudioFileMixOptions readAudioFileList | ( | const string & | pFilename, |
| vector< string > & | pErrorMsgs, | ||
| vector< string > & | pNonexistentFiles ) |
References AudioFileMixOptions::inputFilenames, and AudioFileMixOptions::outputFilename.
Referenced by main().
| void showProgramHelp | ( | ) |
Referenced by main(), and parseCommandLine().