diff options
Diffstat (limited to 'src/sound_asset.h')
| -rw-r--r-- | src/sound_asset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h index e58773e4..79edea96 100644 --- a/src/sound_asset.h +++ b/src/sound_asset.h @@ -102,7 +102,7 @@ public: return _intrinsic_duration; } - std::string language () const { + boost::optional<std::string> language () const { return _language; } @@ -126,7 +126,7 @@ private: int64_t _intrinsic_duration = 0; int _channels = 0; ///< number of channels int _sampling_rate = 0; ///< sampling rate in Hz - std::string _language; + boost::optional<std::string> _language; }; |
