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

(-)sound.c (-1 / +2 lines)
Lines 503-509 Link Here
503
		return err;
503
		return err;
504
	}
504
	}
505
505
506
	if (snd_maxautovchans > 0 && (d->flags & SD_F_AUTOVCHAN)) {
506
	if (snd_maxautovchans > 0 && (d->flags & SD_F_AUTOVCHAN) &&
507
	    ch->direction == PCMDIR_PLAY && d->vchancount == 0) {
507
		ch->flags |= CHN_F_BUSY;
508
		ch->flags |= CHN_F_BUSY;
508
		err = vchan_create(ch);
509
		err = vchan_create(ch);
509
		if (err) {
510
		if (err) {

Return to bug 31597