centos man page for snd_pcm_new_internal

Query: snd_pcm_new_internal

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SND_PCM_NEW_INTERNAL(9) 					      PCM API						   SND_PCM_NEW_INTERNAL(9)

NAME
snd_pcm_new_internal - create a new internal PCM instance
SYNOPSIS
int snd_pcm_new_internal(struct snd_card * card, const char * id, int device, int playback_count, int capture_count, struct snd_pcm ** rpcm);
ARGUMENTS
card the card instance id the id string device the device index (zero based - shared with normal PCMs) playback_count the number of substreams for playback capture_count the number of substreams for capture rpcm the pointer to store the new pcm instance
DESCRIPTION
Creates a new internal PCM instance with no userspace device or procfs entries. This is used by ASoC Back End PCMs in order to create a PCM that will only be used internally by kernel drivers. i.e. it cannot be opened by userspace. It provides existing ASoC components drivers with a substream and access to any private data. The pcm operators have to be set afterwards to the new instance via snd_pcm_set_ops.
RETURN
Zero if successful, or a negative error code on failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SND_PCM_NEW_INTERNAL(9)
Related Man Pages
amixer(1) - debian
device_create(9) - centos
amixer(1) - centos
amixer(1) - suse
ddi_get_instance(9f) - centos
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Controlling user input
[TIP] Processing YAML files with yq