1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/midi
William Wilgus 7100090f99 Remove NVRAM infavor of a separate cfg file
remove nvram and use the existing settings framework for it

add a crc check to the user_settings data to see if we need to save
the user setting file or if we can just save the status file (resume.cfg)

move volume to the system_status struct so we don't write the whole settings file
over volume changes

allow user to still export volume with save sound settings

allow the user to also export pitch and speed

name the file .resume.cfg

Rename all the SYSTEM_STATUS save file variables to TLAs to save space and
discourage tinkering

Cleanup DEBUG_AVAIL_SETTINGS output

when saving user_settings it calls status_save as well this cause the resume
file to be written twice. instead remove the callback for status_save
when setting_save is called

remove header text when saving .resume.cfg

convert status_save() to status_save(bool force)
add SYSTEM_STATUS_UPDATE_TICKS

for ATA device set this to 5 minutes
since we arlready wait for the disk to be up before saving
we don't want to miss our window

for all other every 15 minutes

that way if the battery is too low by the time shutdown comes around you
don't lose much progress

Change-Id: I27214ffd6e5d5494ee5ca83b14f04a41ba426ad7
2025-01-21 00:04:32 -05:00
..
guspat.c Midiplay plugin ehancements 2019-08-05 20:48:40 +02:00
guspat.h midi: Recalculate (and rename) the note frequency table. 2017-01-06 19:29:00 +01:00
midi.make Use a static pattern rule to restrict the dependency on [pluginname].o to single-file plugins. This allows the pattern rule for %.rock (with all dependencies defined elsewhere) to pick up multi-file plugins with no [pluginname].o file, and get rid of the duplication in (doom|midi|reversi).make. 2009-03-04 23:41:58 +00:00
midifile.c Midiplay plugin ehancements 2019-08-05 20:48:40 +02:00
midifile.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
midiplay.c Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
midiutil.c Midiplay plugin ehancements 2019-08-05 20:48:40 +02:00
midiutil.h Introduce HW_SAMPR_MIN_GE_22 macro 2019-08-08 22:37:30 +02:00
sequencer.c midi: Recalculate (and rename) the note frequency table. 2017-01-06 19:29:00 +01:00
sequencer.h midi plugin: make local functions static where possible 2012-02-18 12:06:48 +01:00
SOURCES Move all of midiplay into its subdir and add a Makefile for it, add header files as necessary. 2007-09-24 15:57:32 +00:00
synth.c Midiplay plugin ehancements 2019-08-05 20:48:40 +02:00
synth.h Midiplay plugin ehancements 2019-08-05 20:48:40 +02:00