Contents page

Rules for Tools/transportcommand()


transportcommand()
SYNOPSIS
     void transportcommand(long command, long time)

ARGUMENTS
    `long command'
          One of 7 predefined commands.

    `long time'
          The time the command takes place.

DESCRIPTION
     Use `transportcommand()' to send a command down the Transport
     Handler chain.  Each handler in the chain receives your command and
     processes it as appropriate.  The transport commands are:
    `TC_START'
          Start playback (and record) from the start of the song.

    `TC_STOP'
          Stop playback (and record.)

    `TC_PLAY'
          Start playback from the current song position.

    `TC_POSITION'
          Move the song position to the chosen time.

    `TC_RECORDON'
          Turn on the record flag, for punching in.

    `TC_RECORDOFF'
          Turn off the record flag, for punching out.

SEE
     See installtransport(), removetransport().