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
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
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
Thomas Harte
a6df20ff84
Eliminate printf.
2024-01-21 21:19:38 -05:00
Thomas Harte
7122a9ee16
Add missing include of cstdint.
2024-01-21 21:08:04 -05:00
Thomas Harte
9361f29479
Merge pull request #1314 from ryandesign/nullptr_t
2024-01-21 19:02:42 -05:00
Thomas Harte
981f8a9aac
Merge pull request #1316 from TomHarte/SMSScrolling
2024-01-21 19:01:32 -05:00
Thomas Harte
295d5ae0c3
Ensure Master System horizontal scroll is latched every line.
2024-01-21 17:09:51 -05:00
Ryan Carsten Schmidt
070efd99e0
Include <cstddef> and use std::nullptr_t not nullptr_t
...
Fixes "error: use of undeclared identifier 'nullptr_t'; did you mean
'nullptr'?" when compiling with Xcode 12.4.
2024-01-20 19:17:18 -06:00
Thomas Harte
789c4a080f
Merge pull request #1312 from TomHarte/BetterLogging
...
Switch to a better logging interface.
2024-01-20 15:40:49 -05:00
Thomas Harte
8eb38ac437
Make use of bound_shader.
2024-01-19 22:34:42 -05:00