Loading...
Searching...
No Matches
OutputSoundFile.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
void write(const std::int16_t *samples, std::uint64_t count)
Write audio samples to the file.
OutputSoundFile(const std::filesystem::path &filename, unsigned int sampleRate, unsigned int channelCount, const std::vector< SoundChannel > &channelMap)
Construct the sound file from the disk for writing.
bool openFromFile(const std::filesystem::path &filename, unsigned int sampleRate, unsigned int channelCount, const std::vector< SoundChannel > &channelMap)
Open the sound file from the disk for writing.
Definition AudioResource.hpp:36