VMS Help
RTL Routines, DTK$, DTK$SET_SPEECH_MODE

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

   The Turn Speech Mode On and Off routine either starts or  stops  the
   DECtalk device's speech.

      Format:

        DTK$SET_SPEECH_MODE  voice-id ,new-mode [,old-mode]

      Arguments:

   voice-id

   OpenVMS usage: identifier
   type:          longword (unsigned)
   access:        read only
   mechanism:     by reference

   Voice identifier of the DECtalk device.  The  voice-id  argument  is
   the address of an unsigned longword containing this identifier.  The
   voice identifier is returned by the DTK$INITIALIZE routine.

   new-mode

   OpenVMS usage: longword_unsigned
   type:          longword (unsigned)
   access:        read only
   mechanism:     by reference

   Mode to be set.  The new-mode argument is the address of an unsigned
   longword containing the specified mode.  Valid values are:

        DTK$K_SPEAK        Start speaking.

        DTK$K_STOP         Stop   speaking   when   current   text   is
                             completed.

        DTK$K_HALT         Stop speaking immediately.

   old-mode

   OpenVMS usage: longword_unsigned
   type:          longword (unsigned)
   access:        write only
   mechanism:     by reference

   Current speech mode of the DECtalk device.   The  optional  old-mode
   argument  is  the  address of an unsigned longword that receives the
   current mode setting before  enabling  the  new  mode.   The  values
   returned  in  old-mode  are the same as those valid for the new-mode
   argument.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.