Thomas Harte
1341816791
Break apart, switching to delegates for interrupts.
2024-03-20 14:26:56 -04:00
Thomas Harte
612c9ce49a
Transfer logging responsibility.
2024-03-18 11:09:29 -04:00
Thomas Harte
0d666f9935
Get a bit more rigorous about reporting.
2024-03-06 09:54:39 -05:00
Thomas Harte
0b65aa39cd
Add explicit assignment operator.
2024-03-04 14:09:53 -05:00
Thomas Harte
d639dc8bcb
Hit up some more = default
opportunities.
2024-02-17 15:42:31 -05:00
Thomas Harte
bc5727af14
Switch to = default
.
2024-02-16 21:50:15 -05:00
Thomas Harte
d9ec11c62e
Use logger instead of printf.
2024-02-15 13:55:46 -05:00
Thomas Harte
b4a3b23571
Eliminate use of printf.
2024-02-15 13:32:49 -05:00
Thomas Harte
51de1892c0
With minor infrastructure fixes, switch Mockingboard to stereo.
2024-02-15 09:42:33 -05:00
Thomas Harte
6dcc13921f
Make first sweep at converting AY to a SampleSource.
2024-02-13 10:51:33 -05:00
Thomas Harte
507c3da927
Sometimes avoid unnecessary zero-fills.
2024-02-12 14:33:55 -05:00
Thomas Harte
3d2d9ac45e
Remove default set_sample_volume_range implementation too.
2024-02-12 14:00:08 -05:00
Thomas Harte
1895b4ee5d
Remove empty implementation, the better for debugging.
2024-02-12 13:59:03 -05:00
Thomas Harte
d49c07687c
Unify [get_/skip_]samples, adding a third option for in-place mixing.
2024-02-12 10:55:52 -05:00
Thomas Harte
3a208460e2
Reintroduce mono to stereo conversion.
2024-02-10 21:53:12 -05:00
Thomas Harte
25085cb5af
Require good ordering.
2024-02-09 14:34:59 -05:00
Thomas Harte
9909146c59
Fix typo.
2024-02-09 14:26:02 -05:00
Thomas Harte
609d81d75d
Distinguish sources of samples and of whole buffers.
2024-02-09 14:25:40 -05:00
Thomas Harte
c105acf1c7
Adopt a full type for stereo samples, gaining + and +=.
2024-02-09 10:48:42 -05:00
Thomas Harte
f3d0827d14
Introduce [Mono/Stereo]Sample types.
2024-02-09 09:15:48 -05:00
Thomas Harte
a4a983eb81
Promote stereo status to template parameter.
2024-02-08 15:21:47 -05:00
Thomas Harte
48be7c677e
Avoid inheritance.
2024-02-08 12:07:12 -05:00
Thomas Harte
147d817977
Use fold expression for final-answer is_stereo.
2024-02-08 11:10:08 -05:00
Thomas Harte
d481f335b8
Switch to another std::fill.
2024-02-08 10:47:05 -05:00
Thomas Harte
f4d8c04f3c
Without yet much exposition, draft sample-by-sample interface.
2024-02-01 21:56:33 -05:00
Thomas Harte
c6c9be0b08
Adopt CRTP for SampleSource.
2024-02-01 21:47:44 -05:00
Thomas Harte
ce0d53b277
Clean up SampleSource's getters.
2024-02-01 21:29:00 -05:00
Thomas Harte
8eb38ac437
Make use of bound_shader.
2024-01-19 22:34:42 -05:00
Thomas Harte
0c2a4f442e
Resolve all commented-out old logging references.
2024-01-19 22:17:35 -05:00
Thomas Harte
18814f7b2c
Update use of logging.
2024-01-19 22:14:24 -05:00
Thomas Harte
b61317ba7e
Continue conversion of logging.
2024-01-19 22:02:26 -05:00
Thomas Harte
b5e3858c46
Update logging.
2024-01-19 15:38:40 -05:00
Thomas Harte
2200940efe
Update logging.
2024-01-19 14:22:23 -05:00
Thomas Harte
7e47329e2a
Update use of logger.
2024-01-19 14:16:13 -05:00
Thomas Harte
6497cae39d
Attempt a full listing.
2024-01-19 14:00:53 -05:00
Thomas Harte
55d7a7e5f6
Flood the zone with sources; work incomplete.
2024-01-19 11:45:29 -05:00
Thomas Harte
119b45001c
Add SCC source.
2024-01-19 10:47:21 -05:00
Thomas Harte
bdfbf779fa
Promote source to a template paramter, to unify cases.
2024-01-19 10:41:47 -05:00
Thomas Harte
e6ee8acfd6
Use an enum for source, for compile-time disabling.
2024-01-19 10:35:34 -05:00
Thomas Harte
07fe219148
Sketch out saner logging interface.
2024-01-18 16:37:07 -05:00
Thomas Harte
a3d37640aa
Switch include guards to #pragma once
.
2024-01-16 23:34:46 -05:00
Ryan Carsten Schmidt
5e87692102
Include TargetConditionals.h where needed
...
Fixes build failure "error: 'TARGET_OS_IPHONE' is not defined, evaluates
to 0" on macOS with newer versions of clang.
2023-12-21 23:33:58 -06:00
Ryan Carsten Schmidt
5ef6b190af
Fix typos
2023-12-16 03:53:07 -06:00
Thomas Harte
e691cc8723
Retain dark yellow for composite output.
2023-12-07 14:21:09 -05:00
Thomas Harte
fc63fcb751
Unify usages of output_level
for border.
2023-12-07 11:04:18 -05:00
Thomas Harte
50343dec43
Eliminate all whitespace-only lines.
2023-05-12 14:16:39 -04:00
Thomas Harte
60bec3d4c0
Eliminate trailing whitespace, fix tabs.
2023-05-12 14:03:38 -04:00
Thomas Harte
2b56b7be0d
Simplify namespace syntax.
2023-05-10 16:02:18 -05:00
Icecream95
0499dbd4cf
Align Scan to be a multiple of four bytes
...
Some GPUs (e.g. r600) require the stride of vertex attributes to be a
multiple of four bytes, add two bytes of padding to the Scan struct to
meet this alignment requirement and reduce driver CPU overhead.
2022-08-29 16:32:25 +12:00
Thomas Harte
8f2e94a1d8
Switch name back to emphasise _async_.
2022-07-16 14:41:04 -04:00