view yetilab/stream/streamtype.yeti @ 178:032c4986b6b0

Implement and test matrix concat
author Chris Cannam
date Thu, 02 May 2013 21:58:58 +0100
parents 073641eba879
children 3f4f3af724b0
line wrap: on
line source

module yetilab.stream.streamtype;

typedef stream =
    {
        position is number,
        channels is number,
        sampleRate is number,
        available is Known number | Unknown () | Infinite (),
        finished? is boolean,
        read is number -> 'a, // actually a matrix
        close is () -> (),
    };

();