Thomas Harte
e06a66644c
Eliminate a macro.
2024-02-13 10:54:53 -05:00
Thomas Harte
6dcc13921f
Make first sweep at converting AY to a SampleSource.
2024-02-13 10:51:33 -05:00
Thomas Harte
fd45745600
Merge pull request #1328 from TomHarte/PerSampleAudio
...
Improve SampleSource infrastructure.
2024-02-12 16:38:01 -05:00
Thomas Harte
507c3da927
Sometimes avoid unnecessary zero-fills.
2024-02-12 14:33:55 -05:00
Thomas Harte
f14e45f93e
Remove various instances of ';;'.
2024-02-12 14:23:54 -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
472297e411
Merge pull request #1324 from ryandesign/cmake
...
Add CMake build system
2024-02-09 14:36:00 -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
228012cd0c
Make a further deployment of std::fill
.
2024-02-01 22:03:13 -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
3827929a15
Merge branch 'master' into PerSampleAudio
2024-02-01 21:33:25 -05:00
Thomas Harte
ca7e4b3a0e
Merge pull request #1327 from ryandesign/macos-ci
...
Update CI to build on macOS 11, 12, 13, and 14.
2024-02-01 21:33:11 -05:00
Thomas Harte
fd73c24fc3
Use std::fill
; update volume with slider.
2024-02-01 21:32:16 -05:00
Thomas Harte
ce0d53b277
Clean up SampleSource's getters.
2024-02-01 21:29:00 -05:00
Ryan Carsten Schmidt
7dc3b5ba06
Update CI to build on macOS 11, 12, 13, and 14.
2024-01-31 06:27:11 -06:00
Thomas Harte
b28e3eb419
Merge pull request #1326 from ryandesign/MacDown
...
Compatibility fixes in Markdown files.
2024-01-28 17:35:41 -05:00
Ryan Carsten Schmidt
d811501421
Compatibility fixes in Markdown files.
...
Improve compatibility with some Markdown readers like MacDown by adding
blank lines before lists. Blank lines around headers were added for
consistency. One header level was fixed. One code block was fixed.
2024-01-27 13:24:35 -06:00
Thomas Harte
c68dd50fde
Merge pull request #1323 from ryandesign/BUILD.md
...
Rename BUILD.txt to BUILD.md and rewrite
2024-01-25 20:38:12 -05:00
Ryan Carsten Schmidt
ad8abf2e05
Add CMake SDL builds to CI workflow.
2024-01-25 10:15:11 -06:00
Ryan Carsten Schmidt
01d9455897
Exclude *AllRAM*.cpp from CMake program sources.
...
These files serve as documentation and are used in tests.
2024-01-25 10:15:11 -06:00
Ryan Carsten Schmidt
cbf8849004
Add CMake build system, initially for SDL version.
...
See #1275
2024-01-25 10:15:05 -06:00
Ryan Carsten Schmidt
f3a7d82dc1
Update build instructions with more specifics.
...
Mention macOS version requirement; see #1179 .
2024-01-25 09:10:36 -06:00
Ryan Carsten Schmidt
017674de35
Rename BUILD.txt to BUILD.md.
2024-01-25 08:52:06 -06:00
Thomas Harte
4f211334b5
Merge pull request #1322 from ryandesign/cstring
...
Add missing include of cstring for memcpy.
2024-01-24 20:53:57 -05:00
Ryan Carsten Schmidt
31e261f7e5
Add missing include of cstring for memcpy.
2024-01-24 09:00:10 -06:00
Thomas Harte
f5800aa004
Merge pull request #1320 from TomHarte/MoreTemplateElimination
...
Apply more macro elimination.
2024-01-22 21:46:19 -05:00
Thomas Harte
584aa78695
Avoid macro.
2024-01-22 21:37:04 -05:00
Thomas Harte
030f49db83
Eliminate macro.
2024-01-22 21:33:39 -05:00
Thomas Harte
cc165b65be
Switch to lambda.
2024-01-22 21:22:56 -05:00
Thomas Harte
cb125e6336
Use constexpr functions rather than macros.
2024-01-22 21:17:00 -05:00
Thomas Harte
a3337ea90f
Remove macro.
2024-01-22 21:15:44 -05:00
Thomas Harte
ae31f85f0c
Eliminate macro.
2024-01-22 21:11:15 -05:00
Thomas Harte
5e9f484662
Avoid macro.
2024-01-22 21:09:13 -05:00
Thomas Harte
f2e29357bf
Merge pull request #1318 from TomHarte/MorePragmas
...
Switch trailing files to #pragma once.
2024-01-22 14:00:51 -05:00
Thomas Harte
8a1a14ba4c
Switch trailing files to #pragma once.
2024-01-21 21:49:59 -05:00
Thomas Harte
31cbcb206f
Commit new version number.
2024-01-21 21:25:27 -05:00
Thomas Harte
bf9e913a7b
Merge pull request #1317 from TomHarte/IIgsIncludes
...
Add missing include of cstdint.
2024-01-21 21:24:43 -05:00
Thomas Harte
d3cea4a10f
Note that arguments may be unused.
2024-01-21 21:19:51 -05:00