Commit graph

3657 commits

Author SHA1 Message Date
Michael Sevakis
67ae5cce2e SA9200: Make plugins. Cheat a little just to get things to make at first by using some artwork for 128x128 screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29016 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 21:42:25 +00:00
Nils Wallménius
be76de7b11 jewels: hopefully fix FS#11842, by checking if there are available moves after checking if we should advance to the next level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29013 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 18:54:21 +00:00
Marcin Bukat
6e3da841be Rework ppmviewer to fit our shiny new imageviewer framework. FS#11818 by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29012 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 13:22:54 +00:00
Michael Sevakis
6d05e27d68 Gigabeat F can easily manage 60fps in pacbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29011 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 03:01:55 +00:00
Frank Gevaerts
17585a991c Add AI to the pong plugin, to allow single-player operation.
Part of FS#5855 by Travis Hyyppa (the colour changes were removed from the patch)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29007 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 16:32:56 +00:00
Mustapha Senhaji
1c06d83c15 Revert r29004 putting the original comment back (sorry to fml for this :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29006 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 14:26:16 +00:00
Mustapha Senhaji
958b638def pitch detector: Fix a typo in a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29004 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 00:14:21 +00:00
Alexander Levin
2093bb021f pitch_detector: remove a double 'break'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28995 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 20:23:35 +00:00
Alexander Levin
41e5933877 pitch_detector: the menu function already returns a bool, so use the return value directly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28994 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 20:21:37 +00:00
Michael Sevakis
5c2dd0785d Put illustrative switch case back, because it clarifies intention...maybe ;).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28985 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 05:30:22 +00:00
Michael Sevakis
39107956ab MPEGPlyaer: A bit of audio mutation. Remove a useless thread state. Take some control over the buffer away from the audio thread itself. Some atomicity corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28984 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 05:17:28 +00:00
Andree Buschmann
ef70c9f32c Finally fix FS#10678. Now the mp3 encoder plugin supports mono/stereo and the sampling rates 16/22.05/24/32/44.1/48 kHz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28976 a1c6a512-1295-4272-9138-f99709370657
2011-01-06 17:36:52 +00:00
Andree Buschmann
b5b41e9f68 Related to FS#10678. The mp3 encoder plugin of Rockbox does not encode MPEG2 layer3 properly and does not support MPEG2.5 layer3 at all. Therefor only samplerates of 32, 44.1 and 48 kHz are supported as input. This change introduces a proper error handling and user error message until the underlying error is fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28973 a1c6a512-1295-4272-9138-f99709370657
2011-01-06 12:03:12 +00:00
Andree Buschmann
f97b9f11e4 Fix FS#5317. mp3_encoder does now properly encode mono files. Still there is a bug when using sampling rates != 44100 Hz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28971 a1c6a512-1295-4272-9138-f99709370657
2011-01-05 07:39:12 +00:00
Alexander Levin
95e6e31703 Fix another comment typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28969 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 21:28:20 +00:00
Michael Sevakis
df6b414515 MPEGPlayer: Give the parser a little stronger going over this time so it tolerates odd audio timestamps better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28965 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 20:28:00 +00:00
Alexander Levin
92f602f48f mpeg_parser: fix a typo in the comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28964 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 19:02:01 +00:00
Michael Sevakis
a31b3701f8 MPEGPlayer: Try a few timestamps for all streams at the beginning, not just video, to help deal with anomalous start PTS values in a stream. Hopefully the hardcoded number gives it enough tolerance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28961 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 20:13:05 +00:00
Michael Sevakis
b664f62e36 MPEGPlayer graphics mutation: Implement a more visible FPS display and remove the debugging info from it. Tweak thumbnailing and printing of unavailable frames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28960 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 16:41:19 +00:00
Michael Sparmann
152847977a New port: iPod Classic (also known as iPod 6G/6.5G/7G)
Major known issues:
- No bootloader yet
- No support for the first-generation 160GB CE-ATA hard disk drive yet
- Audio playback is slow, only FLAC seems to reach realtime


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:16:27 +00:00
Andree Buschmann
9318d2b25f Higher precision for test_mem plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28939 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 19:54:01 +00:00
Mustapha Senhaji
afd855b598 stats plugin: Add new things to count. Playlist and video files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28921 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 14:42:30 +00:00
Mustapha Senhaji
c53069c41c Use the filetype_get_attr function just added, to replace a const to count for audio files.
(We have filetype attribute for it)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28920 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 14:34:38 +00:00
Thomas Martitz
3c43503283 Vastly increase speed of SDL screen updates for RGB565.
Flyspray: FS#11834 (with minor changes by me).
Author: Thomas Jarosch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28914 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 22:08:34 +00:00
Nils Wallménius
0ba13e45f0 Fix warning about using static vars in non static inline functions with gcc 4.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28911 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 10:46:29 +00:00
Alexander Levin
1d460b603f disktidy: Fix deleting of directories specified by a pattern (FS#11827)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28900 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 22:22:50 +00:00
Alexander Levin
5c48232e45 disktidy: add a debug message if a file cannot be deleted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28898 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:54:24 +00:00
Alexander Levin
a0516f036f disktidy: fix the situation where specifying that a dir should be deleted could lead to removing a file with that name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28897 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:38:42 +00:00
Alexander Levin
de317d46dc disktidy: add a comment to the function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28896 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:31:54 +00:00
Alexander Levin
82daaae455 Disktidy: introduce a local variable to avoid repeated use of the indexed expression
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28895 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:11:40 +00:00
Alexander Levin
fb7c0df483 Extract config file saving code to a function; Do not write the NUL character to the text config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28894 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:01:07 +00:00
Alexander Levin
c3d230ba0e Fix a typo in comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28881 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:02:04 +00:00
Robert Menes
d9e5c4159a Disktidy plugin: add .Spotlight-V100 directories
(created by Mac OS X) to the list of default files
and directories to be cleaned.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28879 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 02:33:51 +00:00
Michael Sevakis
9b4522bace MPEGPlayer: Some UI tweaking and bugfixing
* Allow skip-to-beginning in single-play mode; there is no 3-second delay in that case.
* Properly handle and keep track of pauses caused by headphone removal.
* Improve skipping over bad files - search in skip direction and allow it to be ended with the stop key.
* Add the system message processing done elsewhere to all button queue waits.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28875 a1c6a512-1295-4272-9138-f99709370657
2010-12-22 11:20:07 +00:00
Michael Sevakis
ea568794e7 MPEGPlayer: Fix a bug where seeking a stream into the same frame more than once in a row causes it to report itself at the end in error; to fix it, pause streams rather than stopping them if the playback isn't stopped. Also, add one check so the engine can at rewind unseekable files to time 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28862 a1c6a512-1295-4272-9138-f99709370657
2010-12-20 07:58:02 +00:00
Michael Sevakis
31af1a3ac2 MPEGPlayer: Move some code that's probably better situated in the stream manager rather than the parser. Fix visibility checking in video out. Extra message sending for new stream isn't needed; just do full decoder sequence reset when requesting dimensions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28855 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 08:28:03 +00:00
Michael Sevakis
fd01bf3e4c MPEGPlayer: Skip to next file when there is a problem with a video file in all-play mode, otherwise exit as usual. Only consider failures such as engine init issues or no file to view to be a plugin error but not problems with the video files themselves; the user is adequately informed already.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28854 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 03:28:43 +00:00
Michael Sevakis
6b1fcc67c2 MPEGPlayer: Fix leakage of file decriptors if file wasn't accepted by playback engine-- code is now getting tested that couldn't be before. Also reset parser in stream init when it doesn't like the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28853 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 02:11:35 +00:00
Michael Sevakis
6032ff1730 MPEGPlayer playlist should as well support all viewer-handled file extensions...indeed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28850 a1c6a512-1295-4272-9138-f99709370657
2010-12-18 21:20:53 +00:00
Michael Giacomelli
fa49771809 Commit FS#11810 by Alexander Meshcheryakov. Boosts the CPU and limits LCD update rate while recursively scanning files in the properties plugin, improving its scan speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28841 a1c6a512-1295-4272-9138-f99709370657
2010-12-16 05:49:30 +00:00
Michael Stummvoll
cac01b9cc9 set the sampling rate back to default on closing,
even it is not a clean shutdown (cleanshut setted)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28835 a1c6a512-1295-4272-9138-f99709370657
2010-12-15 11:33:22 +00:00
Michael Giacomelli
990cbf302e Commit FS#11799 by Alexander Meshcheryakov. Improves the text viewer plugin to write to the disk less often, and correct several minor bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28833 a1c6a512-1295-4272-9138-f99709370657
2010-12-14 21:33:45 +00:00
Teruaki Kawashima
08af5d8404 FS#11777: enhancement for rockbox_browse()
* Add struct browse_context to be passed to rockbox_browse.
* Show proper title when selecting e.g. .wps file or .sbs file from the settings menu.
* Add select only mode to rockbox_browse(). when a file is selected, it's path is stored to buffer and the browser exits without 'playing' the file.
this will allow to use the browser in more places to select file including plugins.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28831 a1c6a512-1295-4272-9138-f99709370657
2010-12-14 13:37:58 +00:00
Michael Giacomelli
42ba55fba3 Make the midiplugin's out of memory error more obvious to people who don't know what malloc is.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28822 a1c6a512-1295-4272-9138-f99709370657
2010-12-13 04:43:27 +00:00
Nils Wallménius
1617d8f97e FS#11802 by Li Jie fixing a typo in the doom buttonmap for SA9200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28816 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 16:31:20 +00:00
Frank Gevaerts
26f2bfde03 Add MikMod plugin, ported by Jason Yu, with some minor work by Craig Mann and William Peters (FS#8806)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28810 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 15:03:30 +00:00
Andree Buschmann
1633d3f479 Changes to test_mem. Improve readability for smaller displays, increase loop count by a factor of 2, if needed,
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28726 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 22:18:53 +00:00
Thomas Martitz
921ac8d6dd Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 21:20:30 +00:00
Szymon Dziok
290e27b401 HDD6330: add missing button for test_codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28721 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:25:04 +00:00
Thomas Martitz
6a54c574f6 Some improvements for test_mem:
* increase loop count if tests are too fast to be accurate
* refactor lots of code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28720 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:07:25 +00:00