summaryrefslogtreecommitdiff
path: root/src/sound_asset_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-16 00:51:07 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-16 00:51:07 +0100
commit14848004f619d11bd6810735637d428f101e6b51 (patch)
treee2aa460b25f98db37523c2ea92cc3997c3745336 /src/sound_asset_writer.h
parenta6070a8af446620ab16ad172b94041601c95700d (diff)
Consider assets outside the DCP as referenced assets (i.e.1.0-vf
not to be written to the asset map). Return a value from finalize() to say whether a writer has written anything. Other small related tweaks.
Diffstat (limited to 'src/sound_asset_writer.h')
-rw-r--r--src/sound_asset_writer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sound_asset_writer.h b/src/sound_asset_writer.h
index 3516efcb..468d64be 100644
--- a/src/sound_asset_writer.h
+++ b/src/sound_asset_writer.h
@@ -44,7 +44,7 @@ class SoundAssetWriter : public AssetWriter
{
public:
void write (float const * const *, int);
- void finalize ();
+ bool finalize ();
private:
friend class SoundAsset;
@@ -65,4 +65,3 @@ private:
};
}
-