1. NAME

snd_pcm_lib_ioctl - a generic PCM ioctl callback

2. SYNOPSIS

int snd_pcm_lib_ioctl(struct snd_pcm_substream *  substream , unsigned int  cmd , void *  arg );

3. ARGUMENTS

substream
    the pcm substream instance

cmd
    ioctl command

arg
    ioctl argument

4. DESCRIPTION

Processes the generic ioctl commands for PCM. Can be passed as the ioctl callback for PCM ops.

5. RETURN

Zero if successful, or a negative error code on failure.

6. COPYRIGHT