![]() |
![]() |
![]() |
![]() |
Set the system's source mode (plugin-aware)
#include <sys/asoundlib.h>
unsigned int snd_pcm_plugin_set_src_mode(
snd_pcm_t *handle,
unsigned int src_mode,
int target );
libasound.so
The snd_pcm_plugin_set_src_mode() function sets the type of sample rate conversion to use. Only playback modes are supported.
The source mode (also in handle->plugin_src_mode) that the system is set to.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
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.
snd_pcm_plugin_update_src(), snd_pcm_plugin_src_max_frag()
![]() |
![]() |
![]() |
![]() |