![]() |
![]() |
![]() |
Get current PCM setup
#include <sys/asoundlib.h> int snd_pcm_plugin_setup( snd_pcm_t * handle, snd_pcm_channel_setup_t * setup );
libasound.so
The snd_pcm_plugin_setup() function fills the setup structure with data about the PCM channel settings selected by handle. The channel member specifies the direction.
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 |
![]() |
![]() |
![]() |