snd_pcm_plugin_info

Name

snd_pcm_plugin_info -- obtain information about the PCM direction

Synopsis

int snd_pcm_plugin_info(snd_pcm_t *handle, snd_pcm_channel_info_t *info);

Description

Fills the info structure with data about the PCM channel selected by handle. The channel member specifies the direction. Other members are read-only. Function returns zero if successful, otherwise it returns an error code. This function is similar to snd_pcm_channel_info function except that the rates and formats are entended in plugin respects.