summaryrefslogtreecommitdiff
path: root/src/atmos_asset_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/atmos_asset_writer.cc')
-rw-r--r--src/atmos_asset_writer.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/atmos_asset_writer.cc b/src/atmos_asset_writer.cc
index 07d310f6..1634010c 100644
--- a/src/atmos_asset_writer.cc
+++ b/src/atmos_asset_writer.cc
@@ -70,6 +70,14 @@ AtmosAssetWriter::AtmosAssetWriter (AtmosAsset* asset, boost::filesystem::path f
_asset->fill_writer_info (&_state->writer_info, _asset->id());
}
+
+void
+AtmosAssetWriter::write (shared_ptr<const AtmosFrame> frame)
+{
+ write (frame->data(), frame->size());
+}
+
+
void
AtmosAssetWriter::write (uint8_t const * data, int size)
{