Home
last modified time | relevance | path

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

/sound/core/
Dpcm.c139 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl()
143 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl()
692 int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) in snd_pcm_new_stream() argument
703 pstr->substream_count = substream_count; in snd_pcm_new_stream()
704 if (!substream_count) in snd_pcm_new_stream()
720 for (idx = 0, prev = NULL; idx < substream_count; idx++) { in snd_pcm_new_stream()
892 if (pstr->substream_count) in snd_pcm_free_stream()
939 if (pstr->substream == NULL || pstr->substream_count == 0) in snd_pcm_attach_substream()
957 if (pstr->substream_count > 1) in snd_pcm_attach_substream()
1217 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
[all …]
Drawmidi.c252 if (subdevice >= 0 && subdevice >= s->substream_count) in assign_substream()
576 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info()
577 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info()
608 if (pstr->substream_count == 0) in __snd_rawmidi_info_select()
610 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select()
1537 stream->substream_count++; in snd_rawmidi_alloc_substreams()
Dpcm_native.c213 info->subdevices_count = pstr->substream_count; in snd_pcm_info()
214 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
Dpcm_lib.c2620 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
/sound/core/oss/
Dpcm_oss.c2079 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1()
2489 if (! pcm->streams[idx].substream_count) in snd_pcm_oss_open_file()
3115 if (pstr->substream_count == 0) in snd_pcm_oss_proc_init()
3182 duplex = (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count > 0 && in snd_pcm_oss_register_minor()
3183 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count && in snd_pcm_oss_register_minor()
/sound/drivers/
Daloop.c1049 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count; in loopback_mixer_new()