Table of Contents

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