#include "mxf.h"
#include "types.h"
#include "metadata.h"
+#include "sound_frame.h"
+#include "sound_asset_reader.h"
namespace dcp
{
-class SoundFrame;
class SoundAssetWriter;
-class SoundAssetReader;
/** @class SoundAsset
* @brief Representation of a sound asset
{
public:
explicit SoundAsset (boost::filesystem::path file);
- SoundAsset (Fraction edit_rate, int sampling_rate, int channels);
+ SoundAsset (Fraction edit_rate, int sampling_rate, int channels, Standard standard);
- boost::shared_ptr<SoundAssetWriter> start_write (boost::filesystem::path file, Standard standard, ChannelAssignment assign);
+ boost::shared_ptr<SoundAssetWriter> start_write (boost::filesystem::path file);
boost::shared_ptr<SoundAssetReader> start_read () const;
bool equals (
}
static bool valid_mxf (boost::filesystem::path);
+ static std::string static_pkl_type (Standard standard);
private:
friend class SoundAssetWriter;
- std::string pkl_type (Standard standard) const;
+ std::string pkl_type (Standard standard) const {
+ return static_pkl_type (standard);
+ }
Fraction _edit_rate;
/** The total length of this content in video frames. The amount of