FreeBSD Bugzilla – Attachment 6056 Details for
Bug 14006
pas2_pcm.c pcm playback problem, with fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 742 bytes, created by
youki
on 1999-09-28 00:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
youki
Created:
1999-09-28 00:10:00 UTC
Size:
742 bytes
patch
obsolete
>*** /sys/i386/isa/sound/pas2_pcm.c.bak Thu Jul 29 21:36:54 1999 >--- /sys/i386/isa/sound/pas2_pcm.c Tue Sep 28 07:41:32 1999 >*************** >*** 66,77 **** > if (arg < 5000) > arg = 5000; > >- foo = (1193180 + (arg / 2)) / arg; >- arg = 1193180 / foo; >- > if (pcm_channels & 2) >! foo = foo >> 1; > > pcm_speed = arg; > > tmp = pas_read(FILTER_FREQUENCY); >--- 66,77 ---- > if (arg < 5000) > arg = 5000; > > if (pcm_channels & 2) >! foo = (1193180 + arg) / (arg * 2); >! else >! foo = (1193180 + (arg / 2)) / arg; > >+ arg = 1193180 / foo; > pcm_speed = arg; > > tmp = pas_read(FILTER_FREQUENCY);
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 14006
: 6056