Commit graph

880 commits

Author SHA1 Message Date
Gwilym Kuiper 26620e850e Have the constants only in one place 2021-10-29 15:51:05 +01:00
Gwilym Kuiper a514625122
Merge pull request #126 from gwilymk/fix-crash-when-looping-stereo
Fix crash when stereo sound loops
2021-10-29 15:50:43 +01:00
Gwilym Kuiper 46b40c8e5b channel.data.len() = 2 * channel.pos 2021-10-29 14:29:22 +01:00
Gwilym Kuiper 5266e7a40c Release agb v0.8.0 2021-10-28 22:28:45 +01:00
Gwilym Kuiper c49952eff9 Reduce the length of the examples 2021-10-28 22:27:08 +01:00
Gwilym Kuiper b75cf33957
Merge pull request #125 from gwilymk/remove-unused-background-size-field
Remove unused field
2021-10-28 22:19:46 +01:00
Gwilym Kuiper 0a68eee3f9 Remove unused field 2021-10-28 21:48:22 +01:00
Gwilym Kuiper e3a35a2eda Release agb-sound-converter v0.1.0 2021-10-28 21:39:33 +01:00
Corwin 2391acb68d
Merge pull request #116 from corwinkuiper/nice-objects
Sane Objects!
2021-10-27 18:32:08 +01:00
Corwin b7734726a6
Merge pull request #123 from gwilymk/stereo-sound
Stereo sound
2021-10-27 18:30:37 +01:00
Corwin 3f310b70a2
Merge pull request #119 from corwinkuiper/partial-backgrounds
possible iter for backgrounds
2021-10-27 18:30:25 +01:00
Gwilym Kuiper 1d38b75289 Reduce stereo mixing by 1 instruction 2021-10-26 23:09:50 +01:00
Gwilym Kuiper 9524b4b3c3 Loads of comments to explain what all the steps are doing 2021-10-26 22:25:35 +01:00
Gwilym Kuiper 050ee184b0 Add stereo sound example 2021-10-26 22:14:46 +01:00
Gwilym Kuiper 5bd656d8cb Add support for stereo sound 2021-10-26 22:14:34 +01:00
Gwilym Kuiper 8a0bb13dba Ensure that audio is always 32-bit aligned 2021-10-26 22:14:14 +01:00
Corwin Kuiper ec0d4431ad allow direct access to screen 2021-10-24 20:41:21 +01:00
Corwin Kuiper f2c4354c1b reduce to a byte array 2021-10-23 17:15:57 +01:00
Corwin Kuiper 713791b3fe satisfy linter 2021-10-23 17:15:57 +01:00
Corwin Kuiper 8d0c50b37a affines are referenced counted with the new RC arena(ish) implementation 2021-10-23 17:15:53 +01:00
Gwilym Kuiper 4f0b01b932 Add option to mark sound as stereo 2021-10-18 21:22:36 +01:00
Gwilym Kuiper e92383e29c
Merge pull request #121 from gwilymk/agb-sound-converter
Agb sound converter
2021-10-18 21:19:31 +01:00
Gwilym Kuiper 99de8c3a34 Be pickier with clippy 2021-10-18 21:15:11 +01:00
Gwilym Kuiper 2d948d894a Add clippy for sound-converter 2021-10-18 21:14:24 +01:00
Gwilym Kuiper 56241eb1f9
Merge pull request #122 from gwilymk/remove-pub-from-template
Fixup build error in template
2021-10-18 20:40:50 +01:00
Gwilym Kuiper 5fd345ff56 Fixup build error in template 2021-10-18 20:31:51 +01:00
Gwilym Kuiper 33e7106c00 Ensure agb-sound-converter tests pass too 2021-10-18 20:27:38 +01:00
Gwilym Kuiper ed5dbb5c0c Add release script and workflow for sound converter 2021-10-18 20:24:52 +01:00
Gwilym Kuiper 626e00bb56 Can avoid needing .ok() 2021-10-18 20:22:55 +01:00
Gwilym Kuiper 0687229a1a Only open the file if we're definitely writing 2021-10-18 20:22:21 +01:00
Gwilym Kuiper 8a109afee4 Use a cache of the changed file 2021-10-18 20:21:22 +01:00
Gwilym Kuiper eb26a21629 Attempt to make it so that the sound converter doesn't create too many tokens 2021-10-17 23:22:36 +01:00
Gwilym Kuiper 66e201ae39 Update example to use the new macro 2021-10-17 22:38:19 +01:00
Gwilym Kuiper 292c4fd20f Handle all the different wav formats correctly 2021-10-17 22:37:50 +01:00
Corwin 562dfb6fa0
Merge pull request #120 from corwinkuiper/clippy-fix
resolve some clippy lints
2021-10-17 22:26:50 +01:00
Corwin Kuiper d22e46f7e3 resolve some clippy lints 2021-10-17 22:08:33 +01:00
Gwilym Kuiper 58262bf0f5 First attempt at writing the generator for this 2021-10-17 22:01:41 +01:00
Corwin Kuiper 1541d514c9 possible iter for backgrounds 2021-10-17 21:59:57 +01:00
Gwilym Kuiper 6f804d884b Release agb v0.7.0 2021-10-04 23:43:18 +01:00
Gwilym Kuiper cc62ef72a7 Release agb-macros v0.1.0 2021-10-04 21:02:52 +01:00
Corwin cea4df395f
Merge pull request #115 from corwinkuiper/fix-clippy-for-backgrounds
fix clippy lints
2021-10-04 20:59:19 +01:00
Corwin Kuiper df98f58c0e fix clippy lints 2021-10-04 20:56:28 +01:00
Gwilym Kuiper 94309a2518
Merge pull request #113 from gwilymk/add-test-for-rust-bug
Add test that data_end is in the correct place
2021-10-04 20:38:54 +01:00
Gwilym Kuiper a1d44ed022
Merge pull request #114 from gwilymk/rename-publish-agb-entry-to-macros
Rename publish-agb-entry to publish-agb-macros
2021-10-04 20:37:50 +01:00
Corwin 3e94bd27ee
Merge pull request #101 from corwinkuiper/sane-backgrounds
Sane backgrounds
2021-10-04 20:34:12 +01:00
Gwilym Kuiper b7d9718960 Rename publish-agb-entry to publish-agb-macros 2021-10-04 20:34:04 +01:00
Gwilym Kuiper 38bba03431
Merge pull request #112 from gwilymk/special-case-simple-mixer
Special case simple mixer
2021-10-04 20:17:15 +01:00
Gwilym Kuiper a31efe7156 Add test that data_end is in the correct place 2021-10-04 20:15:34 +01:00
Gwilym Kuiper 25cca44b6b Cargo fmt 2021-10-03 23:26:02 +01:00
Gwilym Kuiper 871d90c889 Special case mixer without multiplication 2021-10-03 23:00:43 +01:00