1
0

StreamEncoderRAW.h 726 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * StreamEncoderRAW.h
  3. * ------------------
  4. * Purpose: Exporting streamed music files.
  5. * Notes : none
  6. * Authors: Joern Heusipp
  7. * OpenMPT Devs
  8. * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
  9. */
  10. #pragma once
  11. #include "openmpt/all/BuildSettings.hpp"
  12. #include "StreamEncoder.h"
  13. OPENMPT_NAMESPACE_BEGIN
  14. class RawStreamWriter;
  15. class RAWEncoder : public EncoderFactoryBase
  16. {
  17. friend class RawStreamWriter;
  18. public:
  19. std::unique_ptr<IAudioStreamEncoder> ConstructStreamEncoder(std::ostream &file, const Encoder::Settings &settings, const FileTags &tags) const override;
  20. bool IsAvailable() const override;
  21. public:
  22. RAWEncoder();
  23. };
  24. OPENMPT_NAMESPACE_END