Commit graph

21251 commits

Author SHA1 Message Date
Jonathan Gordon
c46669a230 fix FS#10453 - the cuesheet changes broke playback on swcodec, rework it so it uses the audio buffer instead of a temp buffer from the start (which also removes one pretty big memcpy)
also remove the audio_filename from the cuesheet struct as its useless


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21982 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 15:50:26 +00:00
Frank Gevaerts
a7548d3bc7 Make sd_present() and mmc_present() look only at the actual presence of a card, not at initialisation state
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21981 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 13:47:21 +00:00
Frank Gevaerts
3e1b9d5fdd take first_drive into account when handling hotswap. This is not important as long as this is the only driver in use, but it avoids bugs as soon as things like ramdisks are used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21980 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 13:23:28 +00:00
Jonathan Gordon
8e7f9fe595 woops, remove that sim code which I forgot to remove from the older versions of the patch... ordinarily I would have just said fix red, but that would have been boring, and because rasher asked so nicley that we stop it, I thought I'd do him the curtosy... this is also part of my on going goal to increase global warming using the Rockbox botnet^H^H^H^H^H^Hbuild system... also, maybe its bed time?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21979 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 05:28:36 +00:00
Jonathan Gordon
24b136f62d rework cuesheet support:
swcodec: search for a .cue during buffering (with the possibility of adding embedded cuesheets later)
hwcodec: search for a .cue when the id3 info for the current track is requested for the first time (disk should be spining so non issue)

major beenfit from this is simplofy cuesheet handling code a bit... if mp3entry.cuesheet != NULL then there is a valid cuesheet.. no need to worry about if its enabled and preloaded.
There is the possibility of putting the next/prev subtrack handling inside the playback code (as well as the id3 updating stuff (see FS#9789 for more info), but thats probably not a good idea.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21978 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 05:18:18 +00:00
Karl Kurbjun
4c4fb82d9c Fix Onda
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21977 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 23:53:47 +00:00
Karl Kurbjun
24a7e384ec M:Robe 500: Add Rockbox logo for 640x480 and 480x640.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21976 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 23:39:06 +00:00
Bertrik Sikken
0d2005c6f8 Update the uda1380 codec driver to allow it to be used without the WSPLL for playback and allow the use of a 256Fs clock signal directly at the SYSCLK input instead. This is required for the Meizus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21975 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 22:45:32 +00:00
Robert Kukla
4755798f37 cast explicitly to unsigned int (fix yellow on cygwin)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21974 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 22:42:11 +00:00
Rob Purchase
3bc86fd5c1 Tidy up error handling in mktccboot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21972 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 21:53:11 +00:00
Karl Kurbjun
9153e8d025 M666591 (MRobe:500) USB: Driver works without restarting rockbox between connects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21971 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 21:50:48 +00:00
Rob Purchase
ef3064eac0 D2: Enable tagcache database
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21969 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 18:08:59 +00:00
Frank Gevaerts
43d6c6c7c5 fix ifdef (HAVE_HOTSWAP, not HOTSWAP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21968 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 17:49:06 +00:00
Rob Purchase
3a88746780 D2: A working read/write SD(HC) driver, based on the PP equivalent. See CowonD2Info wiki for usage notes/restrictions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21967 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 17:31:56 +00:00
Karl Kurbjun
8f5264e618 Jewels: Add graphics for 640x480 screens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21966 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 14:58:50 +00:00
Maurus Cuelenaere
88ebd050a1 Onda VX747 WPS: add touchscreen areas for shuffle & repeat mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21965 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 14:02:21 +00:00
Johannes Schwarz
5efd23fbc7 Replace bitmap menu with a standard menu, add highscore table, save last achieved level and add difficulty (part of FS#10193)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21964 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 23:26:50 +00:00
Dave Hooper
7a3845b753 Simplify my previous change, don't need separate defines for ipod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21962 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 21:08:38 +00:00
Antonius Hellmann
974a48004a correct bottom viewport height calculation in the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21961 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 16:43:43 +00:00
Johannes Schwarz
99f5299996 Commit FS#10350, prevents to save an unchanged highscore and move the function show_highscore to the lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21960 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 15:16:24 +00:00
Teruaki Kawashima
03cb2b83ae set YOFS to 0 for portrait LCDs.
set NUM_SCORES to 5 for all targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21959 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:51:07 +00:00
Maurus Cuelenaere
36c32ad328 Make the CPU boost log scroll if lines are too big.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21958 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:33:12 +00:00
Frank Gevaerts
49bca7f978 re-add the usb_core.h include. r21953 was a bit too aggressive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21957 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:27:41 +00:00
Maurus Cuelenaere
fbc8cde3a9 Fix warning when compiling with logf() enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21956 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:23:15 +00:00
Frank Gevaerts
11a14dd998 adapt c200v2 and view defines to the new drive/volume handling scheme
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21955 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:18:48 +00:00
Maurus Cuelenaere
631b966a1d Fix Onda VX747(+)/VX777 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21954 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 13:18:33 +00:00
Frank Gevaerts
e409fba7f8 Flyspray: FS#10326
Author: Tomer Shalev

Adds a USB HID sample application, a plugin tha allows to send HID commands while connected in non-storage mode.
This also removes the HID stuff in the debug menu. Testing is now easily doable from the plugin
Also general HID updates


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21953 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 12:58:29 +00:00
Maurus Cuelenaere
06bb5ea004 Fix PDbox compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21952 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 12:38:17 +00:00
Dave Hooper
e5472c91cc Make clix playable on ipod by fixing keymap (so up doesn't quit), button repeat logic (so holding down select doesn't repeatedly fire select events), and not clearing button queue so repeat/release events get detected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21951 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 12:33:13 +00:00
Bertrik Sikken
17b8805b49 S5L8700: fix off-by-one error in kernel timer and fix incorrect interrupt mask in pcm driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21950 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:54:01 +00:00
Dave Chapman
9be28179e4 Nano2g button driver - currently only implementing the hold switch. Should have been part of previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21949 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:36:35 +00:00
Dave Chapman
386503502b Various Nano2g changes - enable the rest of crt0.S (including clock setup) and make the nano2g bootloader do something useful (displaying gpio ports). Also add checks for the fifo-full condition in the LCD driver - required after enabling all the crt0.S inits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21948 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:31:19 +00:00
Karl Kurbjun
d58e358477 Clix: Add support for screen widths larger than 480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21947 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 04:38:33 +00:00
Karl Kurbjun
86b1f4e287 Brickmania, Chessbox, Blackjack, and Solitaire: Add support for 640x480 and 480x640 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21946 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 04:16:50 +00:00
Karl Kurbjun
f2c45dc369 Bubbles: Make new screen support a bit more generic and add support for 640x480 and 480x640 screen sizes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21945 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 03:47:03 +00:00
Karl Kurbjun
8a1cda66f0 Brickmania: Correct a bug in the ball/brick collision (large screens (640x480) did not collide with the bottom row of bricks)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21944 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 01:57:06 +00:00
Karl Kurbjun
1c746e5b9e Brickmania: Make the defines dependent on screen size generic calculations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21943 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 01:42:27 +00:00
Michael Giacomelli
e362aeb61f Commit FS#10413 by Michael Chicoine. Fixes upside down menu in mpegplayer when watching videos with the screen inverted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21942 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 01:38:17 +00:00
Mohamed Tarek
6f4294219e Generic codec-extradata parsing, in preparation for addition of AAC/RM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21941 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 00:29:19 +00:00
Michael Giacomelli
6539b535ad Optimize overlap_math by only doing shifting if theres gain, and moving the check for sign outside of the for loop. 3% speedup on PP5024.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21940 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 00:24:54 +00:00
Michael Giacomelli
b957f7214b Rearrange the MDCT library lookup tables so that codecs can access them. Access them in cook. Remove old cook trig tables. Replace old 32x16 bit fixed point multiply code with faster ASM ARM/Coldfire versions using full 32 bit precision. Improves performance signficantly on PP5024 (~200% realtime for a 64k file) while saving a lot of memory and improving accuracy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21939 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:53:40 +00:00
Frank Gevaerts
c247483ef1 fix ata-nand-s5l8700 compilation properly this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21938 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:19:21 +00:00
Frank Gevaerts
e12fdfcfb0 remove obsolete nand_spinup_time() declaration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21937 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:11:50 +00:00
Frank Gevaerts
27a2564b78 svn properties, late as usual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21936 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:41:08 +00:00
Dave Chapman
6432941f10 Basic backlight driver for Nano 2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21935 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:40:36 +00:00
Frank Gevaerts
92a7418415 don't try to call nand_soft_reset() or nand_disk_is_active(), they don't exist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21934 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:39:41 +00:00
Frank Gevaerts
c0a5a67387 Commit FS#9545, storage cleanup and multi-driver support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +00:00
Robert Kukla
bb3b57f645 make ELIO_TPJ1022 bootloader compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21932 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:07:06 +00:00
Thomas Martitz
fd17a8d637 Apply the same fix as r21930 did for the ramdisk for the AMS Sansa driver.
Nothing should change, since the value of transfer didn't change in the == case, but it saves executing this case at least.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21931 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 21:50:36 +00:00
Frank Gevaerts
8cba8447f8 Allow access to the last sector of the ramdisk as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21930 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 21:02:44 +00:00