rtinrepos

INSTRUMENT design -- reposition input pointer for arbitrary file-reading

The rtinrepos() function is used in RTcmix instrument design to set the input point for reading. This is done in preparation for a subsequent call to rtgetin. Designed for use by instruments that want to reposition the input file arbitrarily (like REVMIX, which reads a file backwards).

Typically it is used in the INSTRUMENT::run() member function of an instrument. It only works on file input, as arbitrary movement forwards and backwards in real-time isn't quite possible (yet).

It replaces the older inrepos function used in disk-only cmix.



Usage



Examples




See Also