diff options
Diffstat (limited to 'src/lib/audio_stream.h')
| -rw-r--r-- | src/lib/audio_stream.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/audio_stream.h b/src/lib/audio_stream.h index cf874242f..b125eb8c0 100644 --- a/src/lib/audio_stream.h +++ b/src/lib/audio_stream.h @@ -54,6 +54,11 @@ public: return _length; } + void set_length(Frame length) { + boost::mutex::scoped_lock lm (_mutex); + _length = length; + } + int channels () const; boost::optional<int> bit_depth() const; |
