Dave Chapman
704b793787
Improved (I hope) A/V sync. mpegplayer now takes account of the difference in the initial audio and video PTS values, and constantly adjusts the av delay to compensate for drift between the audio PTS and the actual duration of the played audio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12930 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 19:37:48 +00:00
Michael Sevakis
138baaa669
SWCODEC: Need to call resampler_new_delta when resetting DSP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12929 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 18:39:03 +00:00
Miika Pekkarinen
b1a5c0ffa9
This should fix the remaining compilation issues.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12928 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 17:58:45 +00:00
Miika Pekkarinen
c284685525
Fixed compilation problems with boostctrl_mtx.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12927 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 17:29:04 +00:00
Miika Pekkarinen
66258a30a4
Make scheduler functions thread safe core wise. A big step towards playback running on COP (not yet possible because more protection on file system level is necessary).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12926 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 16:55:17 +00:00
Paul Louden
6c487eb5d1
More modernizing, make mention that certain versions of gcc are needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12925 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 16:44:00 +00:00
Miika Pekkarinen
5f67db67b0
Killed a logf warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12924 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 16:34:58 +00:00
Michael Sevakis
32f418fb1c
Argh. Get the tabs out the asm again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12923 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 15:20:44 +00:00
Robert Kukla
226cb7b0b8
Rating support for database and WPS (based on FS# 6301). A value between 0 and 10 can be assigned to the currently playing track using the WPS context menu. This value is displayed in the WPS using the %rr tag (replacing autoscore) and can be used as "rating" in tagnavi.config (examples provided).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12922 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 15:08:59 +00:00
Jonathan Gordon
cd1ccad9d6
Make the OS stacks usage debug screen nicer, and unfiy the code for charcell/bmp lcds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12921 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 12:09:08 +00:00
Jonathan Gordon
21c930310c
woops, used the wrong define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12920 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 10:14:32 +00:00
Jonathan Gordon
73c46ffd6e
Convert the playback control menu to the new API. Makes a good example
...
for plugin devs :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12919 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 09:14:16 +00:00
Jens Arnold
1764583f99
Rockblox: Repair initial display on targets with no highscore list.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12918 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 08:52:36 +00:00
Jens Arnold
51f4d3f212
Ooops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12917 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 08:04:30 +00:00
Jens Arnold
ad4e3d6657
First step of charcell LCD code rework: * Make it fully unicode aware so that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 07:52:13 +00:00
Michael Sevakis
165f62d0cd
Fix a hole in the scheduler where collisions between waking blocked threads in mutexes with interrupts waking blocked threads in message queues can occur. Queue posts will put the threads on a separate list that is then added to the running list with IRQs disabled on the next task switch or CPU wakeup. Basically no overhead for other operations. Seems a likely cause of my occasional observation of the backlight fade causing playback threads to stop running and a recently reported blocking violation upon USB plugging. Time will tell but banging the backlight on and off frequently hasn't hiccuped again for me on H120.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12915 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 03:24:36 +00:00
Dave Chapman
5e2984ad80
Fix warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12914 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 01:43:10 +00:00
Dave Chapman
a56757137c
mpegplayer for grayscale targets. Note that performance is slow...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12913 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 01:32:31 +00:00
Michael Sevakis
8f04faef91
Save a couple bytes in set_irq_level on Coldfire. Should add up to something.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12912 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 20:45:08 +00:00
Dave Chapman
465820da22
Initial attempt at rebuffering
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12911 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 18:05:14 +00:00
Tom Ross
8a6e69263e
Fix a few bugs in Xobox. Now menu isn't pure black on non-color targets and an issue where the board was drawn even when the user quit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12910 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 17:52:56 +00:00
Robert Kukla
77983681ca
fix bug where runtime data was not gathered for last track (end of playlist or stop button).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12909 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 17:12:27 +00:00
Jonathan Gordon
8b7a27d189
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12908 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:42:14 +00:00
Jonathan Gordon
1f5ee2a366
convert the xobox menu to the new API so it can be used as an example for plugin devs
...
Includes some fixes in the api to handle this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12907 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:31:56 +00:00
Jens Arnold
14fea30548
Allow clearing the backdrop on greyscale targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12906 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 12:24:58 +00:00
Michael Sevakis
369c2a37b7
SWCODEC & Coldfire: Do some more DSP straigntening out. Do as much Coldfire optimizing as seems reasonably possible by jumping through some hoops to avoid stalls. Further boost reduction will just be fractional points if taken to extremes-- not worth it. Wrap up the ASM for awhile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12905 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 04:03:44 +00:00
Tomasz Malesinski
cd630c9e0a
PNX0101 changes:
...
Make PNX0101-specific system.c and crt0.S.
Add new register names from LPC2880 user manual.
Add support for timer.
Enable CPU frequency changing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12904 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 19:26:13 +00:00
Tomasz Malesinski
7d9ff93b79
FS #6848 - optimizations of Huffman decoding in Tremor.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12903 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 14:06:56 +00:00
Tomasz Malesinski
25046aac17
FS #6848 - fast vector operations for ARM in Tremor.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12902 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 13:45:54 +00:00
Dave Chapman
467651ae76
Make the sim create_thread() function slightly closer to the real thing. #include "thread.h" in thread-sdl.c to ensure function prototypes are consistent. This now allows mpegplayer to run in the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12901 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 01:27:29 +00:00
Barry Wardell
5242cff2b8
Update uninstall and add dual-boot instructions for Sansa.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12900 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 17:33:49 +00:00
Barry Wardell
8986cb7a2e
Update Sansa install instructions now that we have sansapatcher. Based off the SansaE200Install wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12899 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 17:06:29 +00:00
Barry Wardell
74b9ec0bbe
FS#6860 - Battery calibration for Sansa. Thanks to Matthias Wientapper.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12898 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 10:59:01 +00:00
Dave Chapman
7a780dbefc
Bump version to 0.2 with new bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12897 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 10:09:34 +00:00
Dominik Riebeling
c3bef27cbd
Temporary workaround hard lockup with "nothing to resume" splash at end of the playlist if the last active screen was the main menu. A proper fix should come soon.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12896 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 08:09:28 +00:00
Michael Sevakis
6d87513aa2
In reponse to a report of a blocking violation, give sync queues a going over and catch any old, obscure leftover issues. A couple spots needed interrupt stopage where there could be confict if an IRQ post wakes a waiting thread because the queue is overflowing. There does appear to be an issue with wakeup_thread, interrupts and running list modification in general.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12895 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 01:00:13 +00:00
Dave Chapman
8b40769554
Clamp output when converting from libmad's s3.28 format to 16-bit integers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12894 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 22:47:04 +00:00
Barry Wardell
176cd65e4c
Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12893 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 15:59:58 +00:00
Barry Wardell
149a7bab5b
Make Gigabeat's scramble endian-safe.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12892 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 15:53:37 +00:00
Nicolas Pennequin
e5b77b1a47
Add the necessary action_signalscreenchange call to avoid going back one level in the tree after leaving the cuesheet viewer screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12891 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 13:52:56 +00:00
Jonathan Gordon
17a7f7ad35
Use power for ACTION_STD_CANCEL when left is being used for something else
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12890 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 13:16:26 +00:00
Jonathan Gordon
ceb1e7a2fe
minor code cleanup and policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12889 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:55:51 +00:00
Jonathan Gordon
a76947f2a2
Enable usb detection in the sansa bootloader (loads OF if detected)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12888 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:45:19 +00:00
Jonathan Gordon
62ec36c113
Woops.. no longer needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12887 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 11:35:54 +00:00
Jonathan Gordon
da0ee110d9
fix FS#6877 — Using the quickmenu in the database view causes problems
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12886 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 11:31:34 +00:00
Dave Chapman
46cf8805b6
Oops, only swcodec targets have pcm_get_bytes_waiting()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12885 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 09:40:26 +00:00
Dave Chapman
8310848421
Some small mpegplayer improvements/bug-fixes, and improved A/V sync. Audio is used as the master clock and video is synced to the number of samples played. This doesn't take account of any PTS difference at the start of the stream. Also enable Limit FPS and Skip Frames by default - these options need to be enabled for A/V sync to work. Adds pcm_get_bytes_waiting() to the plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12884 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 09:18:46 +00:00
Nicolas Pennequin
81cad7db46
Further error checking that I shouldn't have forgotten earlier.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12883 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 23:35:26 +00:00
Michael Sevakis
55392f7d3c
Perform the obligatory fix-the-sims dance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12882 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 23:33:49 +00:00
Michael Sevakis
0caf3b8cae
Update sync queues to use a statically allocated return value in order to facilitate upcoming COP updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12881 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 22:58:53 +00:00