snd_pcm_filter_t

The PCM Events to filter

Synopsis:

typedef struct snd_pcm_filter
{
   uint32_t  enable;
   uint8_t  reserved[124]; /* must be filled with zero */
} snd_pcm_filter_t;

Description:

The snd_pcm_filter_t structure is a filter that specifies which PCM events are filtered based on a bitmask. For more information about the bitmask, see PCM events in the Audio Architecture chapter of this guide. The members include:

enable
A bit field that specifies a mask of which PCM events types to enable. To to enable the PCM event type, use these bits:
  • Bit 0 — SND_PCM_EVENT_AUDIOMGMT_STATUS
  • Bit 1 — SND_PCM_EVENT_AUDIOMGMT_MUTE
  • Bit 2 — SND_PCM_EVENT_OUTPUTCLASS
For example, to enable SND_PCM_EVENT_AUDIOMGMT_MUTE events, use:
snd_pcm_filter_t filter.enable = 1 <<SND_PCM_EVENT_AUDIOMGMT_MUTE;
                        

Classification:

QNX Neutrino