The status of an AFM
Synopsis:
#define SND_AFM_STATE_RUNNING 0x01
#define SND_AFM_STATE_RUNNING_PCM 0x02
#define SND_AFM_STATE_IDLE 0x03
#define SND_AFM_STATE_SHUTDOWN 0x04
typedef struct snd_afm_status
{
uint64_t ms_processed;
uint32_t state;
}snd_afm_status_t;
Description:
The
snd_afm_status_t structure describes the status of an AMP Functional Module (AFM). To
get this information, call snd_afm_status().
The members include:
- ms_processed
- The number of milliseconds of audio that the AFM has processed since it was started.
- state
- One of the SND_AFM_STATE_* state types:
- SND_AFM_STATE_RUNNING — AFM is running using audio provided by a hardware
device.
- SND_AFM_STATE_RUNNING_PCM — AFM is running using audio provided through its
software PCM interface.
- SND_AFM_STATE_SHUTDOWN — AFM is shut down.
- SND_AFM_STATE_IDLE — AFM is idle.
Classification:
QNX Neutrino