Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / lib / raw_image_proxy.h
index ec30f5a29aa3f8ad945c83f106b81f623c516956..d5ae2457d265ed156da08da1b9a269d10408e437 100644 (file)
 class RawImageProxy : public ImageProxy
 {
 public:
-       explicit RawImageProxy (std::shared_ptr<Image>);
+       explicit RawImageProxy(std::shared_ptr<const Image>);
        RawImageProxy (std::shared_ptr<cxml::Node> xml, std::shared_ptr<Socket> socket);
 
        Result image (
+               Image::Alignment alignment,
                boost::optional<dcp::Size> size = boost::optional<dcp::Size> ()
-               ) const;
+               ) const override;
 
-       void add_metadata (xmlpp::Node *) const;
-       void write_to_socket (std::shared_ptr<Socket>) const;
-       bool same (std::shared_ptr<const ImageProxy>) const;
-       size_t memory_used () const;
+       void add_metadata (xmlpp::Node *) const override;
+       void write_to_socket (std::shared_ptr<Socket>) const override;
+       bool same (std::shared_ptr<const ImageProxy>) const override;
+       size_t memory_used () const override;
 
 private:
-       std::shared_ptr<Image> _image;
+       std::shared_ptr<const Image> _image;
 };