Prepare the selected direction
#include <sys/asoundlib.h>
int snd_pcm_plugin_prepare( snd_pcm_t * handle,
int channel );
libasound.so
The snd_pcm_plugin_prepare() function prepares hardware, that requires additional initialization time, for a specified transfer plugin.
See the example in Configuring the audio channel in the Playing audio data chapter.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |