1
0

StreamEncoderOpus.h 670 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * StreamEncoder.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 OggOpusEncoder : public EncoderFactoryBase
  15. {
  16. public:
  17. std::unique_ptr<IAudioStreamEncoder> ConstructStreamEncoder(std::ostream &file, const Encoder::Settings &settings, const FileTags &tags) const override;
  18. bool IsAvailable() const override;
  19. public:
  20. OggOpusEncoder();
  21. };
  22. OPENMPT_NAMESPACE_END