Jeff Epler
97bb46c047
MP3File: tweak buffer handling
...
After adding the ability to change files in an existing MP3File object,
it became apparent that at the beginning of a track some part of an
existing buffer was playing first.
I noticed that in get_buffer, the just-populated buffer wasn't being
returned, but the other one was. But still after fixing this, I heard
wrong audio at the beginning of a track, so I took the heavy duty approach
and zeroed the buffers out. That means there's a remaining bug to chase,
which is merely hidden by the memset()s.
2019-12-24 09:43:15 -06:00
Jeff Epler
5aa3e3eabb
samd/peripherals: update
2019-12-24 09:36:19 -06:00
Jeff Epler
00628a7ddd
MP3File: whitespace
2019-12-23 09:36:50 -06:00
Jeff Epler
02154caf24
MP3File: Add a settable ".file" property
...
This enables jeplayer to allocate just one MP3File at startup, rather
than have to make repeated large allocations while the application is
running.
The buffers have to be allocated their theoretical maximum, but that
doesn't matter much as all the real-life MP3 files I checked needed
that much allocation anyway.
2019-12-23 09:36:46 -06:00
Scott Shawcroft
e6fd513cfa
Merge pull request #2418 from tannewt/remove_re_from_cpx_displayio
...
Remove `re` from CPX Displayio build to make space.
2019-12-20 12:57:49 -08:00
Scott Shawcroft
f60b6481e0
Turn off gamepad
on cpx crickit
2019-12-20 12:14:27 -08:00
Scott Shawcroft
b859e2b710
Remove re
from CPX Displayio build to make space.
2019-12-20 11:43:56 -08:00
Scott Shawcroft
5fc20145d1
Merge pull request #2390 from jepler/displayio-set-rotation
...
displayio: make 'rotation' property settable
2019-12-20 09:34:25 -08:00
Scott Shawcroft
663f61cbf3
Merge pull request #2411 from jepler/update-circuitplayground
...
frozen: Update Adafruit_CircuitPython_CircuitPlayground submodule
2019-12-20 09:33:09 -08:00
Scott Shawcroft
f08c7d470d
Merge pull request #2410 from jepler/nrf-extended-samplerate
...
nrf: PWMAudioOut: 62500Hz limitation is not needed
2019-12-20 09:31:02 -08:00
Scott Shawcroft
773e1316d2
Merge pull request #2414 from jepler/speedup-gen-display-resources
...
gen_display_resources: speed it up
2019-12-19 15:48:22 -08:00
Kattni
f90fa5ea5f
Merge pull request #2413 from albang/fix_Typo-in-doc
...
Typo in doc
2019-12-19 18:42:13 -05:00
Scott Shawcroft
00538bd181
Merge pull request #2409 from jepler/update-mp3
...
mp3: update to upstream release 1.1.1
2019-12-19 15:41:57 -08:00
Scott Shawcroft
cca5260612
Merge pull request #2387 from rhooper/add-building-doc
...
Add BUILDING.md document for #2370
2019-12-19 15:36:03 -08:00
Jeff Epler
a93475707e
gen_display_resources: speed it up
...
It was intended that the `f.load_glyphs` line was fast and did most of
the work. However, it actually didn't, because it's necessary to pass
in a code point by number, not by string.
Additionally, a little light layer violation is needed to make the check
for missing characters fast. This used to be less important, as no
fonts had missing characters. However, it would take an appreciable
length of time on the Korean translation when failing to find hundreds
of different code points.
Testing performed: built
build-circuitplayground_express_displayio/autogen_display_resources.c with ko
translation before and after change. verified the file content was identical.
Time went from about 7s on my machine to way under 1 second.
2019-12-19 16:26:01 -06:00
albang
00c226738d
Typo in doc
2019-12-19 23:16:51 +01:00
Jeff Epler
8d2a3e94d7
circuitplayground_express_displayio: reduce inlining to make .ko translation fit
2019-12-19 16:12:26 -06:00
Jeff Epler
cc3ef2d5e6
frozen: Update all submodules to latest tagged release
2019-12-19 16:12:26 -06:00
Jeff Epler
5f0af77880
mp3: update to upstream release 1.1.1
2019-12-19 16:12:26 -06:00
Jeff Epler
d31a387ace
circuitplayground_express_displayio: reduce inlining to make .ko translation fit
2019-12-19 16:11:29 -06:00
Jeff Epler
516d930e6c
frozen: Update all submodules to latest tagged release
2019-12-19 16:06:17 -06:00
Jeff Epler
4700f7cf23
frozen: Update Adafruit_CircuitPython_CircuitPlayground submodule
2019-12-19 10:35:57 -06:00
Jeff Epler
51af8aadb7
nrf: PWMAudioOut: 62500Hz limitation is not needed
...
.. and it gets in the way of some example programs, due to the way
circuitplayground library generates different frequency sine waves
2019-12-19 10:34:56 -06:00
Jeff Epler
5c42ae1e13
mp3: update to upstream release 1.1.1
2019-12-19 08:13:00 -06:00
Dan Halbert
a3559f14e7
Merge pull request #2403 from adafruit/tannewt-patch-1
...
Switch to fetching GCC from AWS
2019-12-18 13:20:08 -05:00
Ha Thach
25df6e613a
Merge pull request #2395 from hathach/nrfx-v2
...
upgrade nrfx API to v2
2019-12-18 16:14:25 +07:00
hathach
dad2663337
update nrfx submodule to v2
2019-12-18 15:39:11 +07:00
Dan Halbert
f2b1aeeed1
Merge pull request #2406 from tannewt/improve_usb_eject
...
Improve USB eject by resetting on replug
2019-12-17 23:30:30 -05:00
Scott Shawcroft
561fdfb279
Improve USB eject by resetting on replug
2019-12-17 19:01:03 -08:00
Roy Hooper
7571f9790b
remove --recursive
2019-12-17 19:17:46 -05:00
Roy Hooper
d267dac4ac
Address review feedback.
2019-12-17 18:59:54 -05:00
Scott Shawcroft
e9cb47ffbd
Merge pull request #2393 from dhalbert/increase-cpx-stack
...
Increase CPX stack size slightly
2019-12-17 14:35:37 -08:00
Scott Shawcroft
c7a2228b1b
Switch to fetching GCC from AWS
...
Fixes #2388
2019-12-17 14:30:44 -08:00
Kattni
1108e8f2cc
Merge pull request #2400 from jepler/nrf-rawsample-loop
...
nRF: PWMAudioOut: handle non-looping rawsamples
2019-12-17 13:53:31 -05:00
Dan Halbert
be644228a2
Merge pull request #2397 from jepler/excluded-mpy-subdirs
...
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
2019-12-17 12:31:08 -05:00
Jeff Epler
6a8efa6ef1
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
...
.. this reclaims several kB on CPX, where we really need it.
2019-12-17 10:06:44 -06:00
hathach
554373fdd9
bump tinyusb lib submodule
2019-12-17 22:26:08 +07:00
Jeff Epler
8137ac4c49
nRF: PWMAudioOut: handle non-looping rawsamples
2019-12-17 08:59:08 -06:00
Roy Hooper
a7f8a0afd7
Address code review feedback.
2019-12-17 09:48:55 -05:00
hathach
894cad2e17
upgrade nrfx API to v2
2019-12-17 21:39:52 +07:00
Dan Halbert
20f7fbc6f5
Merge pull request #2389 from Teknikio/master
...
Teknikio Bluebird Support
2019-12-16 22:51:11 -05:00
Dan Halbert
2cb04737f1
Merge pull request #2391 from jepler/genhdr-build-error
...
py.mk: Fix race condition building .mo files
2019-12-16 22:49:46 -05:00
Roy Hooper
a46adb6175
remove . from end of url
2019-12-16 20:15:53 -05:00
Dan Halbert
81581b345c
Increase CPX stack size slightly
2019-12-16 17:25:22 -05:00
Jeff Epler
201f4648c4
py.mk: Fix race condition building .mo files
...
By having an order-only dependency on the directory itself, the directory
is sure to be created before the rule to create a .mo file is.
This fixes a low-freqency error on github actions such as
> msgfmt: error while opening "build/genhdr/en_US.mo" for writing: No such file or directory
2019-12-16 15:33:55 -06:00
JoeBakalor
03ea9ff66e
reset atmel-samd submodule to correct commit
2019-12-16 16:31:44 -05:00
Jeff Epler
a63da7a6c0
displayio: make 'rotation' property settable
2019-12-16 15:23:41 -06:00
Joe Bakalor
822828b9a4
Merge pull request #6 from adafruit/master
...
Pull master
2019-12-16 15:06:58 -05:00
Scott Shawcroft
83d1aac671
Merge pull request #2280 from xinabox/master
...
Support for XinaBox CC03 and CS11
2019-12-16 10:16:03 -08:00
JoeBakalor
2abccc1745
update vid and pid for teknikio_bluebird
2019-12-16 08:58:56 -05:00