A generic pcm ioctl callback
int snd_pcm_lib_ioctl(struct snd_pcm_substream * substream, unsigned int cmd, void * arg);
substream
the pcm substream instance
cmd
ioctl command
arg
ioctl argument
Processes the generic ioctl commands for PCM. Can be passed as the ioctl callback for PCM ops.
Zero if successful, or a negative error code on failure.