diff options
| author | Eskil Q <eskilq@kth.se> | 2021-01-02 08:55:18 +0100 |
|---|---|---|
| committer | Eskil Q <eskilq@kth.se> | 2021-01-02 08:55:18 +0100 |
| commit | bcf60257a86fec924dda8c71ab3a5fe0be5b74cd (patch) | |
| tree | 1137a19bbe2969e7235a3460b127f3c3d608bbd0 | |
| parent | 22481e0fd03102d2fa01a5025049c10a5539e356 (diff) | |
| download | mum-bcf60257a86fec924dda8c71ab3a5fe0be5b74cd.tar.gz | |
add is_exhausted method to StreamingSignal trait
| -rw-r--r-- | mumd/src/audio.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index 7d4929c..9c9648b 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -429,6 +429,10 @@ trait StreamingSignal { type Frame: Frame; fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Frame>; + + fn is_exhausted(&self) -> bool { + false + } } impl<S> StreamingSignal for S |
