Set the system's source filter method (plugin-aware)
#include <sys/asoundlib.h> unsigned int snd_pcm_plugin_set_src_method ( snd_pcm_t *handle, unsigned int method );
libasound.so
The snd_pcm_plugin_set_src_method() function sets the source filter method. If you want to set this method, do so before you call snd_pcm_plugin_params(), so that the plugin can be properly initialized (including the filters).
Because the polyphase SRC plugin converter provides the best quality rate conversion with the least amount of CPU usage, QSA always tries to use it as the source filter method, regardless of the filter set using snd_pcm_plugin_set_src_method(). For more information, see Polyphase SRC plugin converter.
The current method.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Read the Caveats |
This function is not thread safe if handle (snd_pcm_t) is used across multiple threads.
Make sure that you don't mix and match plugin- and nonplugin-aware functions in your application, or you may get undefined behavior and misleading results.