Set the equalizer (EQ) plugin parameters
#include <sys/asoundlib.h>
int snd_pcm_plugin_set_eq(snd_pcm_t *pcm,
snd_pcm_eq_t eq);
BlackBerry 10.3.0
The EQ plugin is disabled by default. To enable the plugin, call snd_pcm_plugin_set_enable() . The EQ plugin allows settings to be supplied at any time if the pcm handle is valid. When the device configuration isn't mono or stereo, then the equalizer is disabled (or made inactive). The equalizer on the device becomes disabled because the equalizer available on the system that the device is connected is usually better than what's available on the device itself. A device can connect to another system using a wired (HDMI cable) or unwired mechanism (Bluetooth or Miracast).
You can call snd_pcm_plugin_get_inactive() to determine whether the EQ plugin is active.
EOK on success, a negative errno upon failure. The errno values are available in the errno.h file.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Read the Caveats |
This function is not thread safe if pcm (snd_pcm_t) is used across multiple threads.