view yetilab/stream/streamtype.yeti @ 222:77c6a81c577f matrix_opaque_immutable

Move block directory -> vector
author Chris Cannam
date Sat, 11 May 2013 15:58:36 +0100
parents 3f4f3af724b0
children
line wrap: on
line source

module yetilab.stream.streamtype;

load yetilab.matrix.matrixtype;

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

();