FreeBSD Bugzilla – Attachment 10072 Details for
Bug 20340
SNDCTL_DSP_GETODELAY on pcm device is incorrectly implemented.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 731 bytes, created by
shirai
on 2000-08-01 13:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
shirai
Created:
2000-08-01 13:00:01 UTC
Size:
731 bytes
patch
obsolete
>diff -u dsp.c.old dsp.c >--- dsp.c.old Tue Aug 1 04:36:13 2000 >+++ dsp.c Tue Aug 1 20:18:08 2000 >@@ -587,12 +587,13 @@ > case SNDCTL_DSP_GETODELAY: > if (wrch) { > snd_dbuf *b = &wrch->buffer; >+ snd_dbuf *bs = &wrch->buffer2nd; > if (b->dl) { > chn_checkunderflow(wrch); > if (!(wrch->flags & CHN_F_MAPPED)) > while (chn_wrfeed(wrch) > 0); > } >- *arg = b->total; >+ *((int *)arg) = bs->rl; > } else > ret = EINVAL; > break;
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 20340
: 10072