Mercurial > hg > may
annotate yetilab/stream/streamtype.yeti @ 176:344f0fefa00c
Implement and test delayedBy
author | Chris Cannam |
---|---|
date | Thu, 02 May 2013 19:09:08 +0100 |
parents | 073641eba879 |
children | 3f4f3af724b0 |
rev | line source |
---|---|
Chris@162 | 1 |
Chris@162 | 2 module yetilab.stream.streamtype; |
Chris@162 | 3 |
Chris@162 | 4 typedef stream = |
Chris@162 | 5 { |
Chris@162 | 6 position is number, |
Chris@162 | 7 channels is number, |
Chris@162 | 8 sampleRate is number, |
Chris@162 | 9 available is Known number | Unknown () | Infinite (), |
Chris@162 | 10 finished? is boolean, |
Chris@162 | 11 read is number -> 'a, // actually a matrix |
Chris@162 | 12 close is () -> (), |
Chris@162 | 13 }; |
Chris@162 | 14 |
Chris@162 | 15 (); |
Chris@162 | 16 |