View | Details | Raw Unified | Return to bug 246206
Collapse All | Expand All

(-)b/sys/dev/sound/pcm/dsp.c (-1 / +1 lines)
Lines 2650-2656 dsp_oss_audioinfo(struct cdev *i_dev, oss_audioinfo *ai) Link Here
2650
			 * @todo @c SNDCTL_AUDIOINFO::caps - Make drivers keep
2650
			 * @todo @c SNDCTL_AUDIOINFO::caps - Make drivers keep
2651
			 *       these in pcmchan::caps?
2651
			 *       these in pcmchan::caps?
2652
			 */
2652
			 */
2653
			ai->caps = PCM_CAP_REALTIME | PCM_CAP_MMAP | PCM_CAP_TRIGGER |
2653
			ai->caps = PCM_CAP_REALTIME | PCM_CAP_MMAP | PCM_CAP_TRIGGER | caps->caps |
2654
			    ((ch->direction == PCMDIR_PLAY) ? PCM_CAP_OUTPUT : PCM_CAP_INPUT);
2654
			    ((ch->direction == PCMDIR_PLAY) ? PCM_CAP_OUTPUT : PCM_CAP_INPUT);
2655
2655
2656
			/*
2656
			/*
(-)b/sys/dev/sound/pcm/vchan.c (+1 lines)
Lines 93-98 vchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, Link Here
93
93
94
	CHN_UNLOCK(p);
94
	CHN_UNLOCK(p);
95
95
96
	info->caps.caps = PCM_CAP_VIRTUAL;
96
	c->flags |= CHN_F_VIRTUAL;
97
	c->flags |= CHN_F_VIRTUAL;
97
98
98
	return (info);
99
	return (info);

Return to bug 246206