Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:gspfldr:12pgs061

ta_timer

Demonstrates use of the audio timer.

Synopsis

ta_timer

Description

This program shows how to examine and change the rate of the audio clock. It demonstrates use of cues to signal your task at a specific time. It also demonstrates how the audio folio deals with bad audio rate values.

Pressing A from the main menu runs the audio clock at successively faster rates, using SleepAudioTime().

Pressing B from the main menu uses SignalAtTime() in conjunction with cues to wait. While using this method, you can press A or B to abort one of two cues prematurely.

Pressing C from the main menu feeds illegal values to SetAudioRate().

Associated Files

ta_timer.c

Location

examples/Audio

documentation/development/opera/pf25/ppgfldr/smmfldr/gspfldr/12pgs061.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1