Link two PCM streams together
#include <sys/asoundlib.h> int snd_pcm_link( snd_pcm_t *pcm1, snd_pcm_t *pcm2 );
The snd_pcm_link() function links two PCM streams together such that they always play at the same time. Starting one starts the other, and stopping one stops the other.
EOK on success, or a positive errno value if an error occurred.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |