snd_pcm_transfer_size

Name

snd_pcm_transfer_size -- determine size of transfer block

Synopsis

ssize_t snd_pcm_transfer_size(snd_pcm_t *handle, int channel);

Description

Returns the transfer size (fragment size) in bytes for the specified channel (direction) when the subdevice is in the block mode. Function returns value greater than zero if successful, otherwise it returns an error code.