Commit Graph

4725 Commits

Author SHA1 Message Date
Andrew Alderwick 8c5ab83c02 Correct compiler warnings. 2021-11-17 22:31:31 +00:00
Andrew Alderwick 80f7746c04 Fix DEI values. 2021-11-17 22:23:39 +00:00
Andrew Alderwick aecf0ee58f Fix segfault on exit.
It seems that the audio callback will keep being called after exit
unless rb->pcm_play_stop() is called again.
2021-11-17 21:22:30 +00:00
Nico afdb139b31 fix audio 2021-11-17 18:45:26 +00:00
Nico 197270cbcf broken audio w/ more tests 2021-11-17 18:19:19 +00:00
Bad Diode 3dbd536edd Fix audio not playing 2021-11-17 15:55:40 +00:00
Nico ff847d5812 initial audio hacking 2021-11-17 15:09:54 +00:00
Nico 2dab5491d4 fix controller device 2021-11-17 10:35:14 +00:00
Nico fcb04138fa Merge commit 'ee638b70e5' into varvara 2021-11-17 09:38:13 +00:00
Nico ee638b70e5 cleanup, fix devices 2021-11-17 09:37:48 +00:00
Nico 1416893720 make file device build on hardwar 2021-11-16 19:43:56 +00:00
Nico ee3fa037d2 update to newer uxn core 2021-11-16 18:46:24 +00:00
Andrew Alderwick ba0e3268e8 Implement File device with Rockbox API. 2021-11-14 22:23:14 +00:00
Nico 52883316fd initial (broken) file stuff 2021-11-14 15:32:45 +00:00
Nico df1b1668e3 remove unneeded uxn files 2021-11-12 19:42:42 +00:00
Nico 4b128318fe improve performance on boost-capable devices 2021-11-08 08:47:56 +00:00
Nico 63809e4267 add datetime, fix timings for screen vector, more tests 2021-11-07 22:00:53 +00:00
Nico d03e373f28 add more test files 2021-11-07 19:54:47 +00:00
Nico 4f5319db11 use as a viewer 2021-11-07 19:54:35 +00:00
Nico 2ca7b61c84 things 2021-11-07 19:14:52 +00:00
Nico ee32942ebb keymap changes and new framebuffer 2021-11-07 18:09:52 +00:00
Nico eea3932a3d initial controller support. needs work 2021-11-02 11:36:30 +00:00
Nico 073fb10abb revert to old method of graphics 2021-11-02 10:47:49 +00:00
Nico 23dd0c0e59 cleanup 2021-10-30 19:08:31 +01:00
Nico 8b022f1a27 initial g 2021-10-30 19:07:46 +01:00
Nico e051ac2c48 add screen vector and first test program 2021-10-29 09:03:45 +01:00
Nico ab47d5974a get initial screen implementation mostly working. 2021-10-28 22:15:56 +01:00
Nico 73688d2e96 it's broken but I'm trying 2021-10-28 21:26:36 +01:00
Nico 4c679e8ac5 initial work on varvara plugin 2021-10-28 18:21:27 +01:00
William Wilgus f4c7dc933d lua add ability to pass PLUGIN_ ret vals with os.exit() + add defines
Change-Id: I45998245271fbd8fee4534f8497b014025e4dcc7
2021-10-21 22:28:05 -04:00
Christian Soffke 1697b13693 whitespace fixes
Change-Id: I86880595b78e3cae62361c32ca57cf6f6a4ad963
2021-10-21 22:42:01 +02:00
William Wilgus e1553d860d Open_Plugin add checksum on struct offsets
Adding a checksum over the struct offset will allow checking
for compatibility across machines rather than using packed structs
to ensure compability

For any file created by the user from the device  this isn't really a concern

But for files between machines, across installs (sim v device),
possibly even across compilers this at least will alert the user
rather than returning junk data

Change-Id: Id0531bbaa7013dce24dece270849f0a10ac99c20
2021-10-18 23:30:27 -04:00
William Wilgus 71cc1e78fd Open_plugins.c bugfix address of packed struct element
helpful gcc warning after g#3895 change to packed struct

Change-Id: I89f765da94eeee14c606ea8ebaab5e219dceb2ac
2021-10-16 11:04:17 -04:00
James D. Smith 60125f6bc9 Pictureflow: Update for tag_virt_canonicalartist.
Change-Id: Ie9fc906b6f863347174b383b01514961b307c4f1
2021-09-17 21:42:05 -04:00
James D. Smith 78f0dc8175 File properties plugin: Add bitrate.
Change-Id: I6160c50685ce1615ef295a472f25cb608b2e6feb
2021-09-16 17:52:53 -06:00
James D. Smith a9d3e09611 File properties plugin: Add frequency.
Change-Id: I27453b39b5e4a6b4f97eff27a36c8ef2772ec092
2021-09-16 17:52:53 -06:00
James D. Smith 41e471e50e File properties plugin: Add disc number.
Change-Id: I98c9ccdffdaae8c5c9117212365ae82b9bf2147c
2021-09-16 17:52:53 -06:00
James D. Smith 5ddfd37a8c File properties plugin: Add track.
Change-Id: Id8707dc28bf3a9c029066bb55ff584662b2cee6b
2021-09-15 21:57:28 -06:00
James D. Smith 7035e2e2b9 File properties plugin: Add year.
Change-Id: I160507a67354c775ca9695c7e71303fe16beb6db
2021-09-15 21:57:21 -06:00
James D. Smith 3acbab15a1 File properties plugin: Add composer.
Change-Id: I7123ad21af15483594b9d247b89f7712c3a1a6f0
2021-09-15 21:57:13 -06:00
James D. Smith f3874bda64 File properties plugin: Add comment.
Change-Id: If6b7650f858134098c3628f6e144e8c8d2a242ef
2021-09-15 21:57:06 -06:00
James D. Smith f971200cee File properties plugin: Add genre.
Change-Id: Ib28e542c51f6e037a31e6d14763ce2abaca248b9
2021-09-15 21:56:58 -06:00
James D. Smith 7882e093b2 File properties plugin: Add album artist.
Change-Id: I150e11ba309953959d374898a63d4250a90651bb
2021-09-15 21:56:50 -06:00
William Wilgus a8253c57dd lib/argparse fix red
Change-Id: I7bbac6de6319bf86189f079b7330d650ea95de3c
2021-08-31 17:23:47 -04:00
William Wilgus c04a944c98 lib/argparse scale decimals to int for return to user
scales the fractional portion of the parsed number
by ARGPARSE_FRAC_DEC_MULTIPLIER

   Example ARGPARSE_FRAC_DEC_MULTIPLIER = 10 000
   meaning .0009 returns 9   , 9    / 10000 = .0009
           .009  returns 90
           .099  returns 990
           .09   returns 900
           .9    returns 9000
           .9999 returns 9999

Change-Id: I38573dbc1877760b0d52df8686a6647894d76196
2021-08-31 21:05:36 +00:00
William Wilgus 965572705b plugin lib/arg_helper parse 'command line' args
add a helper function to allow plugins to parse the parameter string
passed into plugins
support included for bool, char, string and numbers+decimals

Change-Id: I39f35c8bd3c21b83097a538c19f46d362c468fa4
2021-08-27 05:19:28 +00:00
William Wilgus b56372bbcb Plugin Api add core bitmaps
share all the core icons with plugins
these are all small mono icons like usb plug icon or
play, fast forward, rewind icons

--include the icon_helper function

Change-Id: I385028815a4dd368515f491a9e19dee3d500252d
2021-08-26 12:55:34 +00:00
William Wilgus 0679faf65d lib/helper add talk_val()
talk_value_decimal() replaced talk_value()

Change-Id: Ibb7c738d6f3b399fab2e771d8ab85967e3af96d1
2021-08-18 21:30:13 -04:00
William Wilgus 24e8fa317e plugins trade talk_value for talk_value_decimal
talk_value is just talk_value_decimal with 0 decimals

lets add the extended function instead

static inline int talk_val(long n, int unit, bool enqueue)
{
    #define NODECIMALS 0
    return rb->talk_value_decimal(n, unit, NODECIMALS, enqueue);
}

Change-Id: Iaba3d2f95785f2e1855e294ccf099a977bb6cb20
2021-08-19 01:17:29 +00:00
William Wilgus 2ce7c716c3 apps/open_plugins cast menu id to (void*)
Change-Id: I14ece34e5ad0ffe00bbb4f7de37b1dadad3b92b4
2021-08-14 23:27:44 +00:00