FreeBSD Bugzilla – Attachment 17403 Details for
Bug 31597
pcm_addchan incorrectly adds vchans to PCMDIR_REC channels
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 559 bytes, created by
ak03
on 2001-10-29 16:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
ak03
Created:
2001-10-29 16:30:00 UTC
Size:
559 bytes
patch
obsolete
>Index: sound.c >=================================================================== >RCS file: /usr/ncvs/src/sys/dev/sound/pcm/sound.c,v >retrieving revision 1.66 >diff -u -r1.66 sound.c >--- sound.c 18 Sep 2001 14:50:52 -0000 1.66 >+++ sound.c 29 Oct 2001 15:40:53 -0000 >@@ -503,7 +503,8 @@ > return err; > } > >- if (snd_maxautovchans > 0 && (d->flags & SD_F_AUTOVCHAN)) { >+ if (snd_maxautovchans > 0 && (d->flags & SD_F_AUTOVCHAN) && >+ ch->direction == PCMDIR_PLAY && d->vchancount == 0) { > ch->flags |= CHN_F_BUSY; > err = vchan_create(ch); > if (err) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31597
: 17403