(Page 31 of 80 in this chapter)


adiModifyPlaySpeed

Description

Sets the playback speed for the duration of the active play operation.

Prototype

DWORD adiModifyPlaySpeed( CTAHD ctahd,
int speed )

ctahd Context handle returned by adiOpenPort.

speed Percent of change to apply to the original recording, where 100% is no change. Valid range of change depends on the capabilities of the hardware and DSP files installed.

Return Values

Events

None.

Details

This function alters the speed (faster or slower) applied to voice data as it is being output. The speed remains set only for the current play operation instance. Values specified out of range will be limited by the range.

The range is limited by the capabilities of the hardware, the DSP files installed, and by the value of the maxspeed parameter specified when the play operation was started. For example, an upper bound may be 150% or 200%.

See Also

adiStartPlaying, adiPlayFromMemory, adiPlayAsync, adiModifyPlayGain, adiStopPlaying



(Page 31 of 80 in this chapter)


Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights reserved.