MCPcopy Create free account
hub / github.com/SFML/SFML / OutputSoundFile

Method OutputSoundFile

src/SFML/Audio/OutputSoundFile.cpp:43–50  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

41{
42////////////////////////////////////////////////////////////
43OutputSoundFile::OutputSoundFile(const std::filesystem::path& filename,
44 unsigned int sampleRate,
45 unsigned int channelCount,
46 const std::vector<SoundChannel>& channelMap)
47{
48 if (!openFromFile(filename, sampleRate, channelCount, channelMap))
49 throw Exception("Failed to open output sound file");
50}
51
52
53////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected