42 lines
719 B
C
42 lines
719 B
C
|
/*
|
||
|
* StreamEncoderAU.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 AUtreamWriter;
|
||
|
|
||
|
|
||
|
class AUEncoder : public EncoderFactoryBase
|
||
|
{
|
||
|
|
||
|
friend class AUStreamWriter;
|
||
|
|
||
|
public:
|
||
|
|
||
|
std::unique_ptr<IAudioStreamEncoder> ConstructStreamEncoder(std::ostream &file, const Encoder::Settings &settings, const FileTags &tags) const override;
|
||
|
bool IsAvailable() const override;
|
||
|
|
||
|
public:
|
||
|
|
||
|
AUEncoder();
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
OPENMPT_NAMESPACE_END
|