Motorola SYMBOL MINISCAN MSXX04 Guía de usuario Pagina 176

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 278
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 175
Chapter 14: Audio
Getting Started with the Beeper and WAV Files
Psion Mobile Devices Developers Guide
164
A system sound.
Waveform audio data contained in memory.
The following options are available when a WAV file is played:
Asynchronous—the sound is played asynchronously and the call returns immediately after beginning
the sound. To terminate an asynchronously played waveform sound before it is complete, either
another waveform sound must be started, or a call must be made to an API element that stops the
playing of sounds.
Synchronous—the sound is played synchronously and the call returns when the waveform sound
is complete.
Loop—the call returns immediately after beginning the sound and the sound is played repeatedly. To
terminate a looping waveform sound either another waveform sound must be started or a call must be
made to an API element that stops the playing of sounds.
The WAV file can be located anywhere in the file system. When specifying a filename as a parameter, the full
filename and path should be included in the string. If the path is not specified, the Windows default
pathnames are searched.
A WAV file can be played from a memory card inserted in one of the card slots on the computer. In this case,
the folder name representing the card must be included in the filename string. The filename string, in this
case, will be similar to one of the following:
•sd-mmc\wavefile.wav
hard disk\wavefile.wav
storage card\wavefile.wav
14.4 Getting Started with the Beeper and WAV Files
For articles on Ingenuity Working that will guide you in getting started with the beeper see:
community.psion.com/tags/beeper/noteDG
For articles on Ingenuity Working that will guide you in getting started with WAV files see:
community.psion.com/tags/WAV/noteDG
14.5 Code Samples for the Beeper and WAV Files
For postings on Ingenuity Working that contain code samples that use the beeper see:
community.psion.com/tags/beeper/codeDG
For postings on Ingenuity Working that contain code samples that use WAV files see:
community.psion.com/tags/WAV/codeDG
14.6 Sound API Elements
Playing beeps
C++: The beeper is controlled using the PsionTeklogix::Sound namespace.
Java: The beeper is controlled using the com.teklogix.sound package.
.NET:. The beeper is controlled using the PsionTeklogix.Sound.Beeper namespace.
Warning: If an application terminates without stopping a looping waveform sound, the sound will
continue to play. The sound is terminated when another application calls the API
element that stops the playing of sounds.
Vista de pagina 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 277 278

Comentarios a estos manuales

Sin comentarios