- 5565a28 Remove some redundant #include's by Bertrik Sikken · 14 years ago
- 2494afc playback.c: don't assume cacheline size is 16 bytes by Rafaël Carré · 14 years ago
- 35e8b14 Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). by Thomas Martitz · 14 years ago
- 9c13b6e fix: when move_handle() is successful, the return value corrects valid type. by Yoshihisa Uchida · 14 years ago
- 7d5e0d7 FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and Base Skin when the radio is running. by Jonathan Gordon · 14 years ago
- 6ef04a7 Eliminate %zd tag in printf format strings, replace them with %ld. The %z formatter kept generating type mismatch warnings. by Jeffrey Goode · 14 years ago
- 759cfec Hopefully the last warning by Frank Gevaerts · 14 years ago
- ed56682 Fix various size_t related warnings and errors by Frank Gevaerts · 14 years ago
- 84cd376 cast ssize_t to long by Rafaël Carré · 14 years ago
- 50a6ca3 Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). by Thomas Martitz · 14 years ago
- a8d1690 Make storage alignement use cache alignement macros by Rafaël Carré · 15 years ago
- abb3dd4 Use a helpfer function to avoid ugly casting and correct some data types (no functional change). by Thomas Martitz · 15 years ago
- 4c78eca Hopefully fix yellow now, I don't understand why %ld works for ssize_t but %lu not for size_t (and still no warnings on my system). by Thomas Martitz · 15 years ago
- 81187d8 Fix yellow caused by signedness. by Thomas Martitz · 15 years ago
- df79ac2 Fix FS#11004 - Buffering crashes when skipping back from end of song. by Thomas Martitz · 15 years ago
- b11c819 Convert RINGBUF_* macros to inline functions, saving binsize and improving type safety. by Thomas Martitz · 15 years ago
- c4e051b Align addresses in the buffering code to STORAGE_ALIGN_MASK if the target has one. by Torne Wuff · 15 years ago
- f620103 buffering.c: cosmetics by Rafaël Carré · 15 years ago
- ecd9bcf Commit FS#10605 - stable playback on low memory swcodec targets by Matthias Schneider. Should allow stable playback on targets with less then 4MB of RAM and sofware decoding such as the Sandisk Clip, c200v2, m200v4 and probably others. Fixes several problems in buffering that occured when the files to be buffered weren't much smaller then the ring buffer size. Fixes a bug where move_handle would corrupt the audio buffer when trying to copy a handle that both wrapped around the highest address in the ring buffer and overlapped part of the source and desination ranges. Moves the decision in playback.c about when to update the current track handle from audio_check_new_track to after the metadata has been buffered. Corrects several other minor pieces of code. I've logged about 100 hours without a crash on various players with this patch but its possible it breaks some combination of players and features I haven't thought to test. by Michael Giacomelli · 15 years ago
- 59dd433 Removed unneeded includes by Jeffrey Goode · 15 years ago
- f3944cb buffering: leave a comment to explain what is broken in the code and link to FS#10605 by Rafaël Carré · 15 years ago
- e9c1018 Rework albumart buffering internally to allow for mutliple albumart sizes. by Thomas Martitz · 15 years ago
- 3d4701a FS#10080 by Nils Wallménius · 15 years ago
- 00d6cfd Fix yellow when building with HAVE_ALBUMART, without HAVE_JPEG/HAVE_BMP_SCALING. by Andrew Mahone · 15 years ago
- 216424a Fix the lock contention stall during cover art load, by adding a separate modify mutex for the buffer. Operations that modify contents of a buffer entry can still proceed, but ones that add or remove buffer entries, or move them by Andrew Mahone · 15 years ago
- 20f76d6 Make JPEG and BMP scaler optional with HAVE_JPEG and HAVE_BMP_SCALING, both defined for all targets that have HAVE_ALBUMART. Disable JPEG in PictureFlow and pluginlib album art search with 32KiB plugin buffer until PictureFlow by Andrew Mahone · 15 years ago
- 54e6eb3 Search for, and load, JPEG album art files. by Andrew Mahone · 15 years ago
- 66cf3a3 Clean up some #includes by Bertrik Sikken · 16 years ago
- fcbfef8 Show the watermark in the "Show buffering thread" screen (in bytes). by Thomas Martitz · 16 years ago
- 0055f13 This should fix the occasional data aborts mainly in conjunction with AlbumArt on PP targets. See FS#9827 for details. by Antonius Hellmann · 16 years ago
- 6427d12 Calculate watermark from bitrate and harddisk spinup time. by Björn Stenberg · 16 years ago
- 9058620 Make scaler output truly pluggable, add an 8-bit greyscale output to by Andrew Mahone · 16 years ago
- 8cfbd36 Use cookies for thread identification instead of pointers directly which gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required. by Michael Sevakis · 16 years ago
- 781421a resize-on-load for bitmap files on 2bpp and color targets by Andrew Mahone · 16 years ago
- 3625be4 Fix FS#9319 and its (probably) duplicate, FS#9576. They both describe the boost remaining active after a change of the dynamic playlist, an issue added in r17109. by Nicolas Pennequin · 16 years ago
- 2f8a008 Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*. by Frank Gevaerts · 16 years ago
- 71898e5 Accept FS#9480 - centralise and organise the events in the apps/ layer. by Jonathan Gordon · 16 years ago
- f397c25 Fix a possible deadlock if the album art loading fails by Jonathan Gordon · 16 years ago
- cf36957 Add handle values to the buffering LOGFQUEUE messages for easier debugging. by Nicolas Pennequin · 16 years ago
- 929d5e9 Fix FS#9137 and FS#8194 (the end of a track is cut off after rebuffering): the cause was a confusion between regular subtraction and subtraction in a ring-buffer. by Nicolas Pennequin · 16 years ago
- 7c84ede Hopefully fix FS #9153, as well as another bug (in fill_buffer) that could cause problems when rebuffering. by Magnus Holmgren · 16 years ago
- a2191b9 Fix FS#8964 (CPU remains boosted after buffering). 'filling' needs to be set to false when there's nothing left to buffer. by Nicolas Pennequin · 16 years ago
- 2acc0ac Updated our source code header to explicitly mention that we are GPL v2 or by Daniel Stenberg · 16 years ago
- f7e0e6b Lock the linked list mutex when accessing the memory handles. This should fix the invalid values appearing for short times in the buffering debug screen. by Nicolas Pennequin · 16 years ago
- e02d031 Remove unused #define. by Steve Bavin · 16 years ago
- c97e503 Cleaned up playblack.h header file and usage of it. by Bertrik Sikken · 16 years ago
- de026dc Fix FS#8902 (NSF files get skipped). The cause was too strict metadata checking (the NSF metadata parser doesn't fill the 'length' field). Hopefully there won't be any problems with that anymore. by Nicolas Pennequin · 16 years ago
- 4e2de44 A rather big change to how tracks are loaded: there are now two parts to the process and metadata loading is done by the buffering thread (except for the first unbuffered track). The audio thread now calls audio_load_track, and once the metadata is loaded, the buffering thread sends an event which will make the audio thread call audio_finish_load_track. This one then takes care of the rest of the loading. by Nicolas Pennequin · 17 years ago
- 2bf4178 Make mpegplayer sleep the disk after buffering to save battery. * Add a simulator stub for ata_sleep(), and un-ifdef most calls to it. by Jens Arnold · 17 years ago
- 33f522d Migrate the buffering code to the new events system. by Nicolas Pennequin · 17 years ago
- 8a6fd3f Just change PRIORITY_BUFFERING to 15. Seems a teeny tiny bit helpful to mpegplayer as well. by Michael Sevakis · 17 years ago
- 9120c85 Change the default buffer filechunk back to 32KB and bump the buffering thread priority up by one. by Michael Sevakis · 17 years ago
- 12b6c84 Fix sim warnings. by Nicolas Pennequin · 17 years ago
- 732df38 Boost the audio thread while it's filling the buffer. In the audio and the buffering threads, only cancel cpu boost when not filling. by Nicolas Pennequin · 17 years ago
- 4fd2774 Correct some windows line endings back to unix. by Nicolas Pennequin · 17 years ago
- 135cc75 Revert my earlier const madness, we'll keep the parameter lists simple. by Steve Bavin · 17 years ago
- c9df8fd The const police raid playback.c, should be no change to behaviour. by Steve Bavin · 17 years ago
- 73f9863 More consts that require no functional change. by Steve Bavin · 17 years ago
- 27cf677 Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed. by Michael Sevakis · 17 years ago
- 483c402 Notify the buffering thread when a handle is added, so it can go into filling mode. This is some sort of a replacement for the ATA idle callback. It will interrupt an ongoing buffering process (buffer_handle), but not for long enough to be a problem. by Nicolas Pennequin · 17 years ago
- 659fe5a Fix FS#6215 (player crashes after trying to resume deleted music file). As mentioned in the lastest comment, the problem was in trying to resume at an offset larger than the size of the file following the one that was deleted. This revealed a crash in the buffering code, which gets a fix, but we also need to intervene earlier in the track loading so that the track that gets played will be from its start. by Nicolas Pennequin · 17 years ago
- ecec940 Check that the pointer isn't NULL before dereferencing it, just to be safe and to allow using bufgetdata to know how much data is available. Also remove a few trailing spaces. by Nicolas Pennequin · 17 years ago
- e959c5a Possibly save a few bytes when stripping the tags of the last allocated handle by Brandon Low · 17 years ago
- 3386dd7 Fix FS8069, because Nico_P made it easy by Brandon Low · 17 years ago
- 774fd19 Checking for total free buffer space isn't correct. What we need to check is the space available for the particular handle we want to rebuffer. by Nicolas Pennequin · 17 years ago
- e24454f Buffering callbacks rework. There is now one callback for all the events that can occur. Callbacks are now registred only once instead of being removed after having been called. by Nicolas Pennequin · 17 years ago
- 398d9fd Hopefully the last word on getting rid of yield_codecs loops (cut read chunk to 16kB). Sansa ata driver also didn't yield enough so buffering would starve other threads. Bump priority of audio thread to keep UI more responsive. by Michael Sevakis · 17 years ago
- fadbf0a Make threads responsible for explicit cancellation of their own boosted status. Sleeping and timeouts will no longer cancel it. by Michael Sevakis · 17 years ago
- 5192370 Make the sim sleep between each file chunk, so that its buffering behaves more like that of a real target. by Nicolas Pennequin · 17 years ago
- 87e5b11 The error checking for bitmap handling in bufopen was serioulsy broken, as loading a huge bitmap showed. Fix it and reorganise the code slightly. by Nicolas Pennequin · 17 years ago
- 5e0e239 Really fix red this time. by Nicolas Pennequin · 17 years ago
- a384fb6 Fix red on the iFP. by Nicolas Pennequin · 17 years ago
- 9d4bed7 Album art support. Based on FS#3045, but heavily modified to adapt to MoB and for cleanness. by Nicolas Pennequin · 17 years ago
- dc0f497 No functional change by Brandon Low · 17 years ago
- b50473f Fix a bug introduced by r15533 where end-of-file wouldn't be detected correctly. by Nicolas Pennequin · 17 years ago
- ca4771b Thanks to the changes in prep_bufdata, bufgetdata can be simplified a bit. by Nicolas Pennequin · 17 years ago
- 551db40 Clean up a (nearly impossible) null check. Add a comment. by Brandon Low · 17 years ago
- 1db4243 Change in function should be nearly zero, but change to proper naming and define use and allow a more liberal limit on bufgetdata to only ensure safety of wrapping, not the strict filechunk limit that I tried to impose earlier by Brandon Low · 17 years ago
- 6e8ee40 Fix some bad where a handle is held across a sleep. We should probably audit this in other places as well. by Brandon Low · 17 years ago
- f56cb7e Fix the bug where MPC files would be skipped by disabling the check of the requested size against the default filechunk size in prep_bufdata when the caller is bufread. by Nicolas Pennequin · 17 years ago
- 71b4099 Fix a flaw in prep_bufdata() that would lead to all kinds of problems with codecs that used bufread (MPC is one). by Nicolas Pennequin · 17 years ago
- 3eed6fc Fix thinko in last patch, shouldn't effect current buffering clients. by Brandon Low · 17 years ago
- 9821cce Pull the size range checking and disk request into a separate function that both bufread and bufgetdata can use. Do better range checking to ensure that we don't get 'stuck' in the calls and warn with a logf if requests are made for which we cannot guarantee satisfaction. by Brandon Low · 17 years ago
- 86b7c2b This was (probably) committed by accident, remove it. by Nicolas Pennequin · 17 years ago
- 7ca056d Don't yield twice in a row by Brandon Low · 17 years ago
- eac794d Types other than packet audio still need to yield while buffering. by Nicolas Pennequin · 17 years ago
- 0c7b26d Readd yield_codec, making it check for useful data through buffer_is_low. Fixes the PCM buffer underruns. by Nicolas Pennequin · 17 years ago
- 287f14b This was a bad change on my part earlier. Do not immediately start buffering codecs when they are bufopened by Brandon Low · 17 years ago
- 6631e36 Fix some logf warnings. by Nicolas Pennequin · 17 years ago
- 86830b6 Create two separate ways for a handle buffer request to be sent. One is when the buffer has gotten low, in this case, we want to start a buffer fill. The other is when the buffer itself requests a buffer as part of a running fill. Obviously this is not a new fill start by Brandon Low · 17 years ago
- 76f9bfa When seeking foward off of the buffer, if it is a short seek don't rebuffer the whole track, just read enough to satisfy by Brandon Low · 17 years ago
- 3379440 Remove conf_filechunk, it should never have been a setting and its implementation doesn't do what it claims any way by Brandon Low · 17 years ago
- 1df1e7b Remove unused conf_preseek from buffering.c and all of its accountraments. This is _not_ a setting. This is a guessing tool used by either playback or buffering to serve its clients better. Use the REBUFFER_GUESS size in resume to help obviate pondlife's bug. This will also need to be used when FS8092 gets fixed correctly with a complete rebuffer for backward movements. It may also belong in buffering not playback, haven't decided for sure by Brandon Low · 17 years ago
- 560515f Minor improvement in responsiveness to buffer_handle calls by Brandon Low · 17 years ago
- 555a764 logging improvements by Brandon Low · 17 years ago
- 47eb569 SHould fix FS#8074, is more better regardless though by Brandon Low · 17 years ago
- d02b5c7 Don't keep useless id3v2 or other leading tag data on the buffer, it could be large by Brandon Low · 17 years ago
- 31c1164 make handle_id of zero valid, stop using memsets to clear tracks, should be no functional changes by Brandon Low · 17 years ago
- 2ecb323 More residuals from 8077, sanitize chunk and watermark settings by Brandon Low · 17 years ago
- ebc981b More residuals from 8077 that should make buffering start up more smoothly and complete more completely by Brandon Low · 17 years ago