1
0

StreamEncoderWAV.h 720 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 WavStreamWriter;
  15. class WAVEncoder : public EncoderFactoryBase
  16. {
  17. friend class WavStreamWriter;
  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. WAVEncoder();
  23. };
  24. OPENMPT_NAMESPACE_END