Home
last modified time | relevance | path

Searched refs:substream_count (Results 1 – 11 of 11) sorted by relevance

/linux/sound/core/
A Dpcm.c128 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl()
132 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl()
636 int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) in snd_pcm_new_stream() argument
647 pstr->substream_count = substream_count; in snd_pcm_new_stream()
648 if (!substream_count) in snd_pcm_new_stream()
665 for (idx = 0, prev = NULL; idx < substream_count; idx++) { in snd_pcm_new_stream()
843 if (pstr->substream_count) in snd_pcm_free_stream()
897 if (pstr->substream == NULL || pstr->substream_count == 0) in snd_pcm_attach_substream()
915 if (pstr->substream_count > 1) in snd_pcm_attach_substream()
1176 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
[all …]
A Drawmidi.c280 if (subdevice >= 0 && subdevice >= s->substream_count) in assign_substream()
603 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info()
604 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info()
637 if (pstr->substream_count == 0) in __snd_rawmidi_info_select()
639 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select()
1737 stream->substream_count++; in snd_rawmidi_alloc_substreams()
A Dpcm_native.c216 info->subdevices_count = pstr->substream_count; in snd_pcm_info()
217 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
A Dpcm_lib.c2496 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
/linux/include/sound/
A Drawmidi.h105 unsigned int substream_count; member
A Dpcm.h492 unsigned int substream_count; member
543 int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count);
/linux/sound/core/oss/
A Dpcm_oss.c2023 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1()
2439 if (! pcm->streams[idx].substream_count) in snd_pcm_oss_open_file()
3075 if (pstr->substream_count == 0) in snd_pcm_oss_proc_init()
3147 duplex = (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count > 0 && in snd_pcm_oss_register_minor()
3148 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count && in snd_pcm_oss_register_minor()
/linux/drivers/usb/gadget/function/
A Du_audio.c1119 if (!pcm->streams[i].substream_count) in g_audio_setup()
/linux/sound/soc/fsl/
A Dfsl_xcvr.c211 rtd->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count = in fsl_xcvr_mode_put()
A Dfsl_spdif.c965 rtd->pcm->streams[stream].substream_count = (set ? 0 : 1); in fsl_spdif_bypass_put()
/linux/sound/drivers/
A Daloop.c1558 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count; in loopback_mixer_new()

Completed in 49 milliseconds