- cinder::audio::TargetFile
- cinder::audio::msw::TargetFileMediaFoundation
TargetFile implementation using Microsoft's Media Foundation Framework.
Currently can encode WAV in 16-bit signed or 32-bit floating point samples (file extension is ignored).
Show All |
Public Member Functions
-
TargetFileMediaFoundation (const DataTargetRef &dataTarget, size_t sampleRate, size_t numChannels, SampleType sampleType, const std::string &extension)
-
~TargetFileMediaFoundation ()
-
voidperformWrite (const Buffer *buffer, size_t numFrames, size_t frameOffset) override
-
voidwrite (const Buffer *buffer)
-
voidwrite (const Buffer *buffer, size_t numFrames)
-
voidwrite (const Buffer *buffer, size_t numFrames, size_t frameOffset)
-
size_tgetSampleRate () const
-
size_tgetNumChannels () const
Static Public Member Functions
-
std::unique_ptr< TargetFile >create (const DataTargetRef &dataTarget, size_t sampleRate, size_t numChannels, SampleType sampleType=SampleType::INT_16, std::string extension="")
-
std::unique_ptr< TargetFile >create (const fs::path &path, size_t sampleRate, size_t numChannels, SampleType sampleType=SampleType::INT_16, std::string extension="")