Commit Graph

41 Commits

Author SHA1 Message Date
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Jasmine Iwanek
39ebf5025a Yet more cleaning in src/sound 2024-12-18 18:43:15 -05:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
RichardG867
b941a5b99c VIA AC97: Correct DMA behavior when FLAG bit is set 2023-03-25 20:13:51 -03:00
RichardG867
92dd28efc1 VIA PIPC/AC97: Fixed and enabled software FM mode 2023-03-24 20:53:39 -03:00
Jasmine Iwanek
e39dde3413 Magic numbers for sound freq changed to defines 2023-03-01 03:00:47 -05:00
Jasmine Iwanek
645732b7bf clang-format in src/sound/ 2022-09-18 17:22:55 -04:00
Jasmine Iwanek
c195b348a7 src/sound 2022-03-13 10:03:39 -04:00
Jasmine Iwanek
f7084993c3 Formatting updates in src/sound + related includes 2022-02-25 22:06:27 -05:00
Jess Lovelace
d0c1a986a8 continued fixing 2022-02-02 16:31:23 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
RichardG867
1e98d531f2 Fix hijacking of the CD audio filter by VIA AC97 2021-11-20 22:59:08 -03:00
RichardG867
a649314798 VIA AC97: Move some variables to SGD structure to ease future expansion 2021-11-12 20:33:43 -03:00
RichardG867
6527fe9993 AC97 codec overhaul, now with proper enabling through settings and proper codec features 2021-11-12 00:43:03 -03:00
RichardG867
703aa87cbf Fix VIA AC97 warning 2021-11-08 23:15:39 -03:00
RichardG867
6ee9274582 VIA AC97: Change FM data format after an exhaustive probe 2021-08-04 01:00:44 -03:00
RichardG867
61784ca9f4 VIA AC97: Remove status register workaround, fixed by the SGD pause bit fix 2021-08-03 21:36:20 -03:00
RichardG867
b0c1e4726f VIA AC97: Fix SGD pause bit, fixes mpxplay looping on stop 2021-08-03 21:24:08 -03:00
RichardG867
3babec6218 Implement VIA AC97 clipping (not great atm) 2021-08-03 20:28:03 -03:00
RichardG867
b58fda26e9 Remove VIA AC97 debug logging 2021-08-03 13:18:05 -03:00
RichardG867
720375bfd4 VIA AC97: workaround for V7.00b WDM driver hangs, and fix delayed starts caused by the SGD timer 2021-08-02 16:15:04 -03:00
RichardG867
c5c6cb715c Fix overwritten register index value oversight 2021-07-29 13:23:18 -03:00
RichardG867
8cf5e3d77f Update VIA AC97 codec write behavior to match hardware 2021-07-29 13:21:12 -03:00
RichardG867
89d6a67e86 More AC97 work, including 48 KHz sample rate cap 2021-07-29 00:47:39 -03:00
RichardG867
8cf651db57 AC97 improvements, including variable sample rate support on VIA 2021-07-27 22:53:24 -03:00
RichardG867
8485852b07 Add AC97 multi-codec support (unused) and fix gain calculation 2021-07-27 17:16:52 -03:00
RichardG867
70285df61b The start of AC97 volume control 2021-07-26 00:19:39 -03:00
RichardG867
42eada3122 VIA AC97 improvements, almost ready 2021-07-25 22:58:03 -03:00
RichardG867
0fe3a712b0 Move SGD restart to a dedicated flag variable 2021-07-24 22:38:05 -03:00
RichardG867
562bbe167c Improvements to VIA AC97 per suggestions 2021-07-23 01:07:53 -03:00
RichardG867
ce63373613 Add incomplete VIA AC97 FM implementation 2021-07-22 11:10:05 -03:00
RichardG867
7db35aa9b6 De-duplicate entry field on the SGD structure 2021-07-18 16:17:56 -03:00
RichardG867
292874f772 Fix unused variable warning with logging disabled 2021-07-16 15:39:19 -03:00
RichardG867
a976256b1e VIA AC97 updates: Linux now kinda works 2021-07-13 22:14:39 -03:00
RichardG867
ff1a55d08d More AC97, now with VIA kinda sorta working and ES1371 2021-07-13 00:53:26 -03:00
RichardG867
5bce2f09c7 Fix small oversight on codec shadow write 2021-07-11 17:12:48 -03:00
RichardG867
2fa909ab91 Revert to the code which was working on XP 2021-07-11 17:04:41 -03:00
RichardG867
b9c68bf277 Initial commit for AC97 2021-07-11 16:58:52 -03:00