# adiModifyPlaySpeed

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

#### Supported board types

- AG

- CG

#### Prototype

DWORD adiModifyPlaySpeed ( CTAHD ctahd, int speed)

Argument | Description
ctahd | Context handle returned by ctaCreateContext or ctaAttachContext.
speed | Percentage of change to apply to the original recording, where 100 percent is no change. Valid range of change depends on the capabilities of the hardware and DSP files installed.

#### Return values

Return value | Description
SUCCESS |
CTAERR_FUNCTION_NOT_ACTIVE | Play is not currently active.
CTAERR_INVALID_CTAHD | Context handle is invalid.
CTAERR_INVALID_STATE | Function not valid in the current port state.
CTAERR_SVR_COMM | Server communication error.

#### Details

Use adiModifyPlaySpeed to alter the speed (faster or slower) applied to voice data as it is being transmitted. The speed remains set only for the current play operation instance. Values specified out of range are limited by the range (the valid AG and CG board range is 100 to 200 percent).

Refer to the board installation and developer's manual for a table of MIPS
usage for all functions.

#### See also

adiModifyPlayGain, adiPlayAsync, adiPlayFromMemory, adiStartPlaying, adiStopPlaying