winamp/Src/external_dependencies/openmpt-trunk/mptrack/StreamEncoderRAW.h

42 lines
726 B
C
Raw Permalink Normal View History

2024-09-24 13:54:57 +01:00
/*
* StreamEncoderRAW.h
* ------------------
* Purpose: Exporting streamed music files.
* Notes : none
* Authors: Joern Heusipp
* OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
#include "openmpt/all/BuildSettings.hpp"
#include "StreamEncoder.h"
OPENMPT_NAMESPACE_BEGIN
class RawStreamWriter;
class RAWEncoder : public EncoderFactoryBase
{
friend class RawStreamWriter;
public:
std::unique_ptr<IAudioStreamEncoder> ConstructStreamEncoder(std::ostream &file, const Encoder::Settings &settings, const FileTags &tags) const override;
bool IsAvailable() const override;
public:
RAWEncoder();
};
OPENMPT_NAMESPACE_END