1
0
Fork 0
forked from len0rd/rockbox
Commit graph

38236 commits

Author SHA1 Message Date
Solomon Peachy
2f3b9ab68a tms320dm320: Correct a warning with newer toolchains
Change-Id: Ic9d745b9117ee50d82f4c71e07753bf71afc559e
2024-10-06 09:30:32 -04:00
Christian Soffke
8808c42d6d Fix FS#13494
Change-Id: Ie306418431eb412dac00907eb2f59999d8b4dfb0
2024-10-03 14:03:29 +02:00
Christian Soffke
0cb0cb486f tagtree: remove superfluous code from insert_all_playlist
Code has no effect since commit a0e95c8.
Functionality is now handled by the playlist_insert_context_add function

Change-Id: Ie91f605bd7a7d03556fa70d195a06bc55866741d
2024-09-29 17:37:18 +02:00
William Wilgus
f09693b0be [Feature/BugFix] Dirplay never gets the file I selected
If you have say 1000 playlist entries and select the 1001 song in the directory
dirplay loads tracks 1-1000 shuffles them and track 1001 is never heard from again

Instead start at the file and loop through the directory mod dir len

Change-Id: Ieded5decdc1f7c44b1be8491dbd4f359ae21f79a
Hint: this is a good way to not wait on dirplay to load a ton of tracks
2024-09-26 03:29:15 -04:00
William Wilgus
f55cb77f89 [Bugfix] FS#13492 - Playback resume fails after USB insert
On usb plug system_flush() gets called before the other
threads get a chance to ACK the insert

system_flush() calls playlist_shutdown() (amongst other things)
playlist_shutdown closes the control file

the audio thread acks USB insert
audio_stop_playback is called which now can't look up the
filename from the now closed handle for control the control file

I left the guard for checking for USB insert but it appears to be
fine without it

Change-Id: I935dbf7aed38d4a57413c0063ad953f427e9b3bb
2024-09-26 01:34:56 -04:00
William Wilgus
e6313e4b8e tree.c remove strlcat in favor of strmemccpy
moved a conditional for reload_dir vs strcmp

Change-Id: I1635014fbbc6b9b0905abc3f9c60bbd2a1d08762
2024-09-26 00:38:54 -04:00
Solomon Peachy
9ebfb3fa5c FS#13493: Updated German translation (Wilfried Winkler)
Change-Id: Ib048b82438e81b9cd0a3bcab7f60b5c0556ad13e
2024-09-25 18:08:06 -04:00
Roman Artiukhin
ef6da7503a Codecs: mp4: Support object type 29 (AAC LC + SBR + PS).
Backport libfaad commit d35cf8f24d

Change-Id: I0d637d2be36f5e4bb10d7d09adc442b470e81bf7
2024-09-25 14:01:57 +03:00
William Wilgus
9af325a541 [BugFix] tagcache_search() must be closed with tagcache_search_finish()
fix a couple of places where this could be left open

Change-Id: I43ac7d6b26d728c11f96e5415710341d60f07ab8
2024-09-25 01:33:47 -04:00
William Wilgus
a0e95c888d [Feature/Bugfix] Tagtree use insert context to speed up adding tracks to playlist
I forgot we had duplicated code between playlist.c and tagtree.c this saves
a bit of space and should speed up adding tracks a bit

further I noticed a buf here where there was the potential to return without closing
the opened track search

Change-Id: I15ed8447fc4fe13de5bfeb9fbb59b151e2fbf36a
2024-09-25 01:03:11 -04:00
William Wilgus
ffebb9e244 [Bugfix] Enable Progressive loading for talk clips on devices <= 8MB
our voiceclips are getting in the way of allocs for the tree
on these devices

Change-Id: I556400359df22a2643e6ee3f9a161bc364841002
2024-09-25 00:54:10 -04:00
Solomon Peachy
33495ef006 fonts: Major update for 12-Fixed-SemiCond (1767 -> 4531 codepoints)
Change-Id: Ibe9ea6eee5af0034c6786fec88f0fb2f9eff2ef5
2024-09-24 17:45:27 -04:00
Dana Conrad
5d2692375d rbutil: Add erosqnative
- Give each brand its own entry, and make ranges
  of OF versions correspond to hardware changes.
- Temporarily disabled target aigoerosq.
- Post-install hint enabled.
- Added pre-install hint function
- Added optional parameter themename, in case
  the target name does not match the themesite name.
- Made Port Status (statusAsString()) only care about platform
  string prior to first '.'
- Manual: Remove note that rbutil does not support this model

Issues:

 - Cannot uninstall the bootloader - manual instructions are available

Change-Id: I574aad7943ea3d1e543e9449f68240446fec0709
2024-09-24 10:48:58 -04:00
William Wilgus
f0c208554c [BugFix] Playback.c OOM with large voice file
with our large voice file being loaded in its entirety to the buffer
there isn't enough room to allocate the required pcm buffer
well prior to this patch we looked for 1k free to allow the talk buffer
to be given away
well the pcm buffer expects something like 5-600 kb on the clipzip
and there is 1k allocatable but not 300 more

so instead get the required pcm buffer size and check against that

Change-Id: I40a056e4170c37bc3429f0cb37af221ae7f812e5
2024-09-24 10:47:34 -04:00
Solomon Peachy
c3f51b5fe9 opus: Re-add a ICONST_ATTR lost in 4c6bb798d6bebc80f07e863236adbaf8d156a9c
Change-Id: If1395d5b1d71c1bc0bb9104ff26d2addbfd1040f
2024-09-24 10:27:17 -04:00
Roman Artiukhin
56bd6cd634 fonts: 12-Adobe-Helvetica.bdf: adjust width for few letters
Add more spacing to avoid overlap with other letters (includes A/\W and some more)

Change-Id: I41c3b0ee022f3cb451687215803a16fcd76b6544
2024-09-24 07:44:38 -04:00
Roman Artiukhin
306110479c fonts: 12-Adobe-Helvetica.bdf: add missing Ukrainian letters
Added ІіЇїЄєҐґ

Change-Id: Ib9c130e54a3f4fef9f5e2acb72507f3b2bbc33d3
2024-09-24 07:44:38 -04:00
Roman Artiukhin
d9c491121c fonts: 12-Adobe-Helvetica.bdf: Fix metrics by gbdfed
These changes are made by saving the font in gbdfed without any explicit modifications

Change-Id: I0b756af9ad84cbc840b61a2c8f9eebe00e31a2c1
2024-09-24 07:44:38 -04:00
Roman Artiukhin
ff0ad4ca7d metadata: aac: support .aac files with mp4 container inside
Change-Id: Id982c58184197f6b2f9eeb0cf403cc2e30a97e24
2024-09-23 17:43:13 +03:00
Solomon Peachy
77ff799502 lang: Delete two completely redundant strings
Change-Id: Icedae2687688b8d042c9d9ca232b566ff8f65531
2024-09-22 16:44:08 -04:00
Solomon Peachy
8f8fb13edb dbtool: Fix build when we have HOTSWAP but not MULTIVOLUME
(Not sure how that can happen, but... eh)

Change-Id: I7754f1678698e8781df76c2f88bdf12cc43a5e0e
2024-09-22 10:41:25 -04:00
Solomon Peachy
e5d4e33403 manual: Additional notes about Flash/SSD mods
Change-Id: I2f54879cb2c0fe43179b59f5e5f3e8cf7dfc92e2
2024-09-22 09:20:57 -04:00
Solomon Peachy
1e7334a22c manual: Document the 128GB AppleOS limit of early ipod6g models.
(And do some minor massaging of the other storage limit language)

Change-Id: I73957b58cab9777dab0934215c743fd3d810db0f
2024-09-22 08:54:04 -04:00
Solomon Peachy
395311f7a1 simulator: Make sure we define the right stuff for sigaltstack()
We got some of this stuff through SDL1 implicitly.

Change-Id: I349be640ac15f79048d860bb58bae93a74a0e1ec
2024-09-21 19:08:32 -04:00
Solomon Peachy
a7fba55fcf warble: Fix build
Change-Id: I52028c2244a9951fc4a04f82cf1c85557539a50b
2024-09-21 19:08:31 -04:00
Solomon Peachy
6ed8b9091c Misc: Compiling under SDL2 uncovered a few issues unrelated to SDL itself
Change-Id: I625d5dd02d3f70bc6484a8641eafdaf13812f4a7
2024-09-21 16:32:58 -04:00
Christian Soffke
bc56e9a9dc SDL: Don't apply settings when starting DMA playback
This seems to be redundant since it
already happens in pcm.c

Change-Id: Ib27d1a225758e5f2919446ceb6de4a038abfa062
2024-09-21 15:14:54 -04:00
Roman Artiukhin
3f3ec8273a metadata: aac: Fix any file is treated as valid aac
Fixup for d50470bc

Change-Id: Ie96a636afd3f18e03d70601628c2731cb7314483
2024-09-21 14:51:50 -04:00
Solomon Peachy
1be795c9b1 fix red thanks to tex4htm being a doody-head
Change-Id: Ic29916cb88c224f4bfb78075a399df0d320abfc3
2024-09-21 13:15:58 -04:00
Solomon Peachy
babc1e57e1 manual: Add a blurb about Windows format tool limitations
Change-Id: I8b51ad4d92910f5b143da02b0db90a851c68f41d
2024-09-21 13:01:45 -04:00
Solomon Peachy
5d6e498178 manual: Document storage/capacity limits and "SSD Mods"
Change-Id: Ida3e4bc2129bfa3481ddcc961f4156c3033189a1
2024-09-21 11:00:53 -04:00
Solomon Peachy
9a714939e8 features: Add 'sd_storage' if the device uses SD cards
Change-Id: Ied3ca34ef497cf0eeb7db6d0f948e43ebd25359e
2024-09-21 10:48:24 -04:00
Solomon Peachy
a056150d52 updatelang: Flag '|' in voice strings too
Change-Id: Id82bf7bd19741e7275d188ceeea872ebeb30e1eb
2024-09-18 10:43:34 -04:00
Solomon Peachy
e0df9952fd ata: Alter ata_is_active() when drive doesn't support power management
Due to the heisenberg principle, we don't want to check the battery
level when the ATA drive is "spun up".

Unfortunately some ATA devices *cough most SD adapters cough* don't
support mandatory ATA power management commands like flushing caches and
(safely) shutting down so we have to leave them "spinning".

This leads to us never updating our battery status with these
out-of-spec devices.  Work around this issue by having is_active() always
return false if that's what we have.

Change-Id: I629f3fdbc7e5cffb0a4d546c80cb5fca8529c0e6
2024-09-18 08:26:14 -04:00
Solomon Peachy
c71b6265b0 Fix a mechanical error in the Simplified Chinese translation
Change-Id: Ibdd4b948ec8e2e6d761362e465a7117ef74e1520
2024-09-17 11:09:41 -04:00
Solomon Peachy
e09c055a41 lang: Replace all <...> with [...]
<..> gets interpreted as a drive/volume ID, which has special voicing rules.

(this is especially visible in the DB browser)

Change-Id: I7c2598004a4e58451267d77f786eb52f7c09bd3f
2024-09-17 10:21:46 -04:00
Solomon Peachy
24ae4aee33 updatelang: Expand suspicius character tests.
* dest:  < >
 * voice: [ ] < > { }

Change-Id: I97701e52807db996037b7542fb0b01f9db0dbc0f
2024-09-17 10:18:29 -04:00
Solomon Peachy
7d9fbae749 Minor mechanical updates to the Russian translation
...This should be sufficient to push it to 100%

Change-Id: I6b884725a7d3823c66742856cd7e581880d0830e
2024-09-16 08:27:42 -04:00
Solomon Peachy
9fb6883d01 FS#13489: Updated Russian translation (Dmitry Prozorov)
Change-Id: I8e605959101b3fd08eae92b7eb80c9a8525bc5e3
2024-09-16 07:53:58 -04:00
Dana Conrad
bb1c2ea0b1 Fix manual build in 018c54ad1c
Change-Id: If0bce46e161b1f61543c73a4417eda1c179c34a7
2024-09-15 20:34:22 -04:00
Solomon Peachy
607adf00b5 manual: fix error in 018c54ad1c
Change-Id: I58bc8f726d2c82c0586e982753dda55c028aa3bd
2024-09-15 15:07:12 -04:00
Dana Conrad
018c54ad1c Manual: Update erosqnative
Update installation instructions, and add a couple things that
were missing.

Change-Id: I7313285338fe5c4bc05a944e3ba2ff941a796d5b
2024-09-15 14:53:49 -04:00
Solomon Peachy
5ab334f07f FS#13488: Updated Russian translation (Dmitry Prozorov)
Change-Id: I2950fdef4ba5b8373b7661ececd15c02822dd403
2024-09-15 09:57:59 -04:00
Solomon Peachy
84375e5524 builds: Promote erosqnative, m3k, and q1 to stable
Change-Id: I6dde4a0d980544df2872f10cac9c0d085af688d0
2024-09-15 09:08:12 -04:00
Solomon Peachy
10382caa3b FS#13487: Updated italian translation (Alessio Lenzi)
Change-Id: I47a45002c0da8d6ae5160ffe6d423a3061c654bd
2024-09-15 07:18:20 -04:00
William Wilgus
de355d225c Remove static buffer from shortcts.c
as long as we put it back the way we found it u.path is a
writable buffer

Change-Id: I6f1e6139ce96b8edb61ad8b0ae6a6f2218eee855
2024-09-13 11:22:46 -04:00
Solomon Peachy
563137b480 builds: Mark the 'erosqnative' manual as okay, so it gets built nightly
Change-Id: I83ed24961e708b722b4c988577aeafa466c43943
2024-09-13 10:19:20 -04:00
William Wilgus
79bed1f422 RFC skin_tokens remove a static buffer
it was hard to hit this branch, I had to comment out:
ln 555    else if (offset == 1)
ln 556        pid3 = state->nid3;

as far as I can tell the reason for the separate filename buffer
was due to the failure mode of audio_peek_track() wiping
the id3->path, stands to reason for me that we can just fill it
again

-Already found a gotcha playlist_peek() mutates the buffer
 makes me like this solution less, might rework tagcache_fill_tags()
instead

--Fixed

Change-Id: I4a2ee71a8e2d0739c9e141948b71c2ed36296e3b
2024-09-12 19:16:02 -04:00
Dana Conrad
2a0f3c8276 hibyos_nativepatcher: rewrite for either fresh install or uninstall
Since we can easily create our own install files for erosqnative,
modify script to create fresh install image from bootloader.erosq
or add bootloader to installation manifest of stock update file
to uninstall rockbox.

USAGE:

    hibyos_nativepatcher.sh <mkrbinstall/mkstockuboot> [arguments depend on mode, see below]

    hibyos_nativepatcher.sh mkrbinstall <OFVERNAME (erosq or eros_h2)>
        <path/to/output> <path/to/bootloader.erosq> <HWVER (hw1hw2 or hw3)>
        Output file will be path/to/output/erosqnative_RBVER-HWVER-OFVERNAME.upt.
        Only the Hifiwalker H2 v1.3 uses "eros_h2", everything else uses "erosq".

    hibyos_nativepatcher.sh mkstockuboot <path/to/OFupdatefile.upt>
        Output file will be path/to/OFupdatefile-rbuninstall.upt.

Change-Id: I16bc6e43c42f99475ebdd5ec1ac1bae047129745
2024-09-12 17:09:52 -04:00
Solomon Peachy
85652e6bd1 FS#13486 - Updated Korean Voice translation (Hoseok Seo)
Change-Id: Ic6266ef664fb158fc1ee2c5c3e67a34d429a4571
2024-09-12 10:46:39 -04:00