snd_pcm_plugin_reset_voice_conversion()

Resets the parameters of the voice conversion

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_plugin_reset_voice_conversion(snd_pcm_t * pcm, int channel);

Arguments:

pcm
The handle returned by a call to a snd_pmc_open_* function, such as snd_pcm_open_name(), snd_pcm_open(), or snd_pcm_open_preferred().
channel
The channel to reset.

Library:

libasound.so

Use the -l asound option with qcc to link against this library.

Description:

The snd_pcm_plugin_reset_voice_conversion() resets all previously settings of voice conversions to default.

Returns:

EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.

Classification:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Read the Caveats

Caveats:

This function isn't thread safe if the pcm argument(snd_pcm_t)is used across multiple threads.