FreeBSD Bugzilla – Attachment 6263 Details for
Bug 14372
The audio ioctl SNDCTL_DSP_SETFMT affects the stereo setting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.04 KB, created by
pantzer
on 1999-10-17 16:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
pantzer
Created:
1999-10-17 16:10:01 UTC
Size:
1.04 KB
patch
obsolete
>Index: dsp.c >=================================================================== >RCS file: /host/queeg.ludd/FreeBSD-mirror/anoncvs/cvs//src/sys/dev/pcm/dsp.c,v >retrieving revision 1.5 >diff -c -r1.5 dsp.c >*** dsp.c 1999/09/28 21:43:35 1.5 >--- dsp.c 1999/10/17 14:58:18 >*************** >*** 387,395 **** > > case SNDCTL_DSP_SETFMT: /* sets _one_ format */ > splx(s); >! if (wrch) chn_setformat(wrch, *arg_i); >! if (rdch) chn_setformat(rdch, *arg_i); >! *arg_i = wrch? wrch->format : rdch->format; > break; > > case SNDCTL_DSP_SUBDIVIDE: >--- 387,395 ---- > > case SNDCTL_DSP_SETFMT: /* sets _one_ format */ > splx(s); >! if (wrch) chn_setformat(wrch, (*arg_i) | (wrch->format & AFMT_STEREO)); >! if (rdch) chn_setformat(rdch, (*arg_i) | (rdch->format & AFMT_STEREO)); >! *arg_i = wrch? (wrch->format & ~AFMT_STEREO) : (rdch->format & ~AFMT_STEREO); > break; > > case SNDCTL_DSP_SUBDIVIDE:
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 14372
: 6263