summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-11enc_config.c don't overrun mp3_enc_bitr[] arrayWilliam Wilgus
Change-Id: I1e2acceb707d85481eace3203b1d3d3ec8beb7d1
2021-08-11codec_thread.c don't overrun audio_formats[] arrayWilliam Wilgus
Change-Id: I58941cea061f41478d7677beb9ff42e28b2455a6
2021-08-11metadata/mp4.c fix small oversight / bugWilliam Wilgus
didn't set the genre string to null on case entry means read failure would leave genre string indeterminate add explicit NULL & leave genre uninitialized Change-Id: I1452a0b57985646c982ec80755d0df9d03745f1e
2021-08-11metadata/mp4.c check for read errors skip buffer appropriatelyWilliam Wilgus
WIP Change-Id: I770f0d911f7d9826e89d886892ff3913661a8151
2021-08-10Eros Q Native: Make Mute logic channel-independentDana Conrad
An oversight on my part meant that setting channel balance to 100% L or 100% R would mute both channels - this logic will prevent that. Change-Id: I912c2745784fbbbd7a773e1234179801f2ca4680
2021-08-10touchscreen: Respect list item selection sizeAidan MacDonald
Some lists have tall items that span more than one line of text, eg. the bookmark menu or ID3 tag menu. The touchscreen code didn't handle these menus correctly and touching on the lower part of a list item could select "between" two items, leading to incorrect rendering and behavior due to callers relying on the selected item being properly aligned to the selection size. Fix this by ensuring the touch code only generates properly aligned selections. Change-Id: I73945bb0947590517a005754bd447639e22812e2
2021-08-10touchscreen: Fix annoying bug when switching touchscreen modesAidan MacDonald
Changing the touchscreen mode in the settings menu required a reboot to fully apply because this code was trying to reapply old settings. This is a hack. IMHO to fix it properly the behavior of touchscreen mode needs to be changed so code that needs a specific mode doesn't need to twiddle global state, but that's a bigger undertaking. Change-Id: I55a46dbed721273ad78cb9df81fe60940665962b
2021-08-10touchscreen: Use pointing mode in the yes/no screenAidan MacDonald
Seems to fix the unintuitive / inaccurate behavior of this screen. Rejigger the generic touchscreen keymap because the 3x3 buttons are no longer used. Also map physical keys for yes/no on the Q1. Change-Id: I2ed633896b87030fa654d47d9d02929b849495da
2021-08-10skin engine: handle bitmap read errors appropriatelyAidan MacDonald
Change-Id: Ifab0e607cb71afbe26b9e508fe1db3a8730bad4b
2021-08-10lua rockaux.c filetol fix invalid conditionalWilliam Wilgus
Change-Id: Id31d3d8b571540394373a61ed213380c95a0eee2
2021-08-10pcm_record.c iAudioM5 FixRedWilliam Wilgus
Share a bit of code in order to free up iRam for the iAudio M5 Change-Id: Ief05d2614a203df17821ed32b04f5c75a53ca08b
2021-08-10recorder/pcm_record.c cleanup copy functionWilliam Wilgus
re: coverity write_write_order: In long(*s++) + *s++, s is written in *s++ and written in long(*s++) but the order in which the side effects take place is undefined because there is no intervening sequence point. Change-Id: I2911c240f3e85fcfbf77297e8579e02e217c5af5
2021-08-09re-synchronize english-us "translation"Solomon Peachy
Change-Id: I21035cda0617e74283e4b30557783d297d8dfcd0
2021-08-09inflate: fix public function pointersJames Buren
Change-Id: I7f1273b832a04a7d7c1b386c08c17438e3d93fc2
2021-08-08As3525 wavpack_enc document some intentional switch fall throughWilliam Wilgus
Change-Id: I56bf439df2c05653d65f49238e886e4ef2291176
2021-08-07metadata/asap.c consolidate read char function and check return valuesWilliam Wilgus
and a bit of cleanup using macros to make the code easier to follow Change-Id: I2c5953a68a9f415453e508c14a9c1a5a1e84e6b5
2021-08-07metadata/asap.c WS cleanupWilliam Wilgus
Change-Id: Id3bc053a45eeea107a54dd47640fa3ceb4b04498
2021-08-07tagcache: Don't treat tag_virt_basename as a numeric tagAidan MacDonald
Change-Id: I88fe17466b606a1f60a4c823214edd9766deb260
2021-08-07Remove unhelpful unsigned casting trickAidan MacDonald
Change-Id: Ice86f060974c51bbaf051ed8c5a369ce80ecfe15
2021-08-07move PCM_NATIVE_BITDEPTH definiton into global config codeSolomon Peachy
Change-Id: I391bcffca670916c2c88426e2ba2603351326cee
2021-08-07fiiom3k: Add bookmark screen keymappingAidan MacDonald
Forgot to commit this back around the time I did the manual Change-Id: I8fafeec5105b4bee3380779f4cc86d3e73459cf2
2021-08-07Fix warnings from 56b0dde545Dana Conrad
Need a default bit depth in pcm-x1000.c Change-Id: I2c6af227975d2f47609b51090638012d8406ec1e
2021-08-07Higher bitdepth software volume scalingDana Conrad
Operates between 0 and -74 dB (mute) without issue Change-Id: I497e002bd8db43833a09ebbc29212fbb6cc8ebfd
2021-08-07ErosQ Native: Add DC Offset to PCM dataDana Conrad
A small negative offset seems to silence all play/pause clicking on the PCM5102A. Also adding PCM soft muting, and muting the headphone amp when the headphones are detected as removed. This has been tested to not cause any unintended side effects on the line out. Also confirmed the numerical dB values are (approx.) correct. Change-Id: I689d68887c86add9cc5e0ccb0c7de01aaa69b4d9
2021-08-07metadata/vfx.c cleanup string and character handlingWilliam Wilgus
Change-Id: I7550d6db05b0d31a1433d0af9b2233f9dc3f5ee2
2021-08-07inflate: import initial module for deflate decompressionJames Buren
This will eventually be used by the ZIP module and other things that support DEFLATE based streams. Change-Id: I4acc9561eb56c9c368d1defab9c14e0454d105e1
2021-08-07metadata/smaf.c handle read errorsWilliam Wilgus
Change-Id: I450f1fc8e1b69ce09f9888f5384c3e23a93822a1
2021-08-06metadata/mp3data.c set data to 0 in case of read errorWilliam Wilgus
Change-Id: I15d4e3d3be4bf4531c892f4351355b0b2e8e0ca9
2021-08-06Fix yellow from d541a72aAidan MacDonald
Change-Id: I9c539035544d285da1941d2c1954cf2aa4d00087
2021-08-06Fix possible negative fd in playlist.cAidan MacDonald
Change-Id: I59d88609ec3f20ec9f482a777396cd72be23a35b
2021-08-06Be sure to wipe id3 tag after failed parse in playback.cAidan MacDonald
Change-Id: I000c78e913ab80afa9b82cae937afb5255831b79
2021-08-06Bugfixes in eq_menu.cAidan MacDonald
Change-Id: Ibf754554f685d13ac00a49694fcecee459ff838f
2021-08-06Fix wrong printf format in system-hosted.cAidan MacDonald
Change-Id: I73722f0711a295152a98ab784cd6cf76379ef52e
2021-08-06Fix hosted glibc backtraceAidan MacDonald
According to backtrace(3) man page, the string returned from backtrace_symbols() contains the return address so we shouldn't need to print it ourselves. Change-Id: Ia779207285c9ea0052b9aee3d84ee8380bf46d82
2021-08-06Fix use of uninitialized variable in mp4 metadata parserAidan MacDonald
Change-Id: Idca69e7429af13609785755d4e152d87f471c462
2021-08-06Fix path buffer overflow in screendumpAidan MacDonald
Overflow is due to a hidden assumption in create_datetime_filename() and create_numbered_filename() where buffer must be >= MAX_PATH bytes. Change-Id: I9d36517d861b6925352380d551afc5439edbb340
2021-08-06logf: Fix two issues with logf_panic_dump()Solomon Peachy
* It had a (read) buffer overflow when dumping the stuff on the back half of the buffer * a highly questionable code construct was nuked Change-Id: I7f6f119524fc2095f788fc9b3d356459955d3ace
2021-08-06tools/iriver: fix resource management in encode/decode functionsJames Buren
Change-Id: Ib0b38378c66d5902694d9af9fd0271d616101660
2021-08-05test_disk: Minor fix in an error pathSolomon Peachy
...Log the variable containing the actual error Change-Id: If22e6b684f2e213bc45c8ca95295936ba8e09895
2021-08-05metadata: Fix sign extension in get_uint64_le() routineSolomon Peachy
Change-Id: Ibd85cf72ac1babd1fa636c341b90b76bdfc0491b
2021-08-05mikmod: Uninitialized variable used in a control flow decisionSolomon Peachy
Change-Id: I6df903399361f1df7ca0f766fff4062a984e2ba8
2021-08-05hosted: Fix rtc_write_datetime() error handlingSolomon Peachy
(if mktime() fails, don't attempt to write its result to the RTC) Change-Id: Ib09b8dccafdef032119db76f10af74dfc220cc21
2021-08-05disk.c ensure a valid volume is returned from get_free_volume()William Wilgus
volume is used for element math and indexing into buffers -1 volume is bad Change-Id: I1ec75ef3a848c154ea80905224ea9a3a14bf8151
2021-08-05misc.c format_sound_value guard division by zeroWilliam Wilgus
Change-Id: I7085cb34d2258aa5fc7e04fc0e73d6f733810038
2021-08-05lib/skin_parser check that malloc succeededWilliam Wilgus
Change-Id: I32db233a53b0f693f815cf96bcbe6711c366e5b3
2021-08-05Simplify clamp_componentAidan MacDonald
Surprise surprise: the compiler generates shorter, branch-free code if we don't try to be clever with signed/unsigned casting tricks. Change-Id: I93d2020b6127e7d43feee394b06a52aaeddf3b79
2021-08-04Avoid buffer overflow when generating bookmark file nameAidan MacDonald
Change-Id: I14f3d83a8089d33f4e900a1d5f965e67082a07ea
2021-08-04plugins: Fix issues in 2048Aidan MacDonald
One of these was an unintentional fallthrough -- if you said no to 'quit without saving' it would save and quit. Change-Id: I33828b58962a05adab65ac5f71dd0e2b1e07001b
2021-08-04Document intentional fallthroughs + fix harmless unintended onesAidan MacDonald
Change-Id: I1ca5b1027ec30cbf61093bab35b980196ed14e6b
2021-08-04Revert "rbutil: Remove done() signal from Themes Install window."Dominik Riebeling
The done() signal is acutally needed to indicate the installation being finished. Fixes installation being stuck after themes install. This reverts commit fb6840e57260b1da35924914d47731e06597afea. Change-Id: I9c1791e3ecfec992da40ff72b6969d80bbb0cd7f