afm_ctl

Control an AMP Functional Module

Tip: This utility is only available for use if you have the QNX Acoustic Management Platform 2.0 and Audio component BuildID 594—January 17, 2018 (7.0.594.S201801171044) or a later update installed.

Syntax:

afm_ctl [options]

Runs on:

QNX Neutrino

Options:

-a afm
The AMP Functional Module to start or issue a command to. You can specify afm in the following ways:
  • [card_num:]dev_num — card number and device number. The default for both the card number and the device number is 0.
  • name — AFM card name (e.g., voice, icc).
-c
Reset the audio mode.
-f filename
The full path of a wav file (selected AFMs only).
-m mode
Set the audio mode. The possible values for mode depend on the AFM.
-s
Stop the AFM.

Description:

The afm_ctl utility controls an Acoustics Management Platform Functional Module. If you specify just the -a option, afm_ctl starts the AFM.

See the afm_ctl.c appendix for the source for this utility in the Audio Developer's Guide.