25#ifndef SFML_OUTPUTSOUNDFILE_HPP
26#define SFML_OUTPUTSOUNDFILE_HPP
74 bool openFromFile(
const std::string& filename,
unsigned int sampleRate,
unsigned int channelCount);
Utility class that makes any derived class non-copyable.
Provide write access to sound files.
~OutputSoundFile()
Destructor.
OutputSoundFile()
Default constructor.
void write(const Int16 *samples, Uint64 count)
Write audio samples to the file.
bool openFromFile(const std::string &filename, unsigned int sampleRate, unsigned int channelCount)
Open the sound file from the disk for writing.
Abstract base class for sound file encoding.
unsigned long long Uint64