Detach a PCM stream from a link group
#include <sys/asoundlib.h> int snd_pcm_unlink( snd_pcm_t *pcm );
The snd_pcm_unlink() function detaches a PCM stream from a link group. After this point, starting and stopping this PCM stream affects the stream only, not any other streams.
0 on success, or -1 if an error occurred (errno is set).
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Read the Caveats |
This function is not thread safe if pcm(snd_pcm_t) is used across multiple threads.