![]() |
![]() |
![]() |
Get information about the PCM direction
#include <sys/asoundlib.h> int snd_pcm_plugin_info( snd_pcm_t * handle, snd_pcm_channel_info_t * info );
libasound.so
The snd_pcm_plugin_info() function fills the info structure with data about the PCM channel selected by handle. The channel member specifies the direction. Other members are read-only.
Zero on success, or an error code (errno is set).
See the example in Opening your audio device in the Playing audio data chapter.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |