Commit graph

11671 commits

Author SHA1 Message Date
Michael Sevakis
99109938fe The sims hate me again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11706 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:32:38 +00:00
Michael Sevakis
eca9f7fd60 Place all recording functionality on pcmrec thread to serialize all recording operations. Button mash problems should be ruled out of pcm_record.c. Add additional lightweight checks by default and display any warnings that occurred during recording in first line of recording screen when they occur by blinking back and forth from warning display to normal line (Warning: <hex bitmask>). Warnings are cleared when beginning a new recording so write the number down if you see it and file a report. Add heavier checks when PCMREC_PARANOID is defined in the player config header (encoders and pcm_record must be aware of the define since it changes the chunk header format). These checks are mainly concerned with things that may cause skipping but also add unwanted overhead for normal operation. Best used with logf enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11705 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:21:31 +00:00
Dave Chapman
0a8d88228b Remove unused code in (and hence simplify) the ipod bootloader - the image header parsing and memmove isn't used in Rockbox, it was just leftover from the original ipodlinux loader. Note that we still need the empty space in the bootloader (400 bytes starting at 0x100 - the 'boot_table' definition in firmware/target/arm/crt0-pp.S) to maintain compatibility with ipod_fw/make_fw (which will write information there that we have always ignored).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11704 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 13:33:12 +00:00
Dave Chapman
3f85262de2 Initial attempt at adding support for firmware images with 2048-byte sectors. Sector size is auto-detected, so both 5g and "5.5g" users can use the "-g video" (or its alias, "-g 5g") option to manipulate the firmware. I have tested this patch with 3G, 4G and 5G (512-byte sectors) and 5G (2048-byte sectors) images and it generates a "rockboot.bin" file with a matching MD5 checksum to either the previous version of ipod_fw.c, or the patched "ipod_fw_5.5g.c", as appropriate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11703 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 11:02:48 +00:00
Peter D'Hoye
7d0f00576e To reduce confusion, renamed 'Mic' to 'Internal Mic'. Maybe Line In should also be renamed to Line In / External Mic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11702 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 10:47:11 +00:00
Daniel Ankers
65d6ab1396 Move I2S initialisation out of the Wolfson codec driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11701 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 19:25:49 +00:00
Daniel Ankers
acbbe82a24 Move I2S initialisation out of the Wolfson codec driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11700 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 19:18:18 +00:00
Peter D'Hoye
3e1f837d11 Turned function back into define as that uses less bytes because gcc inlined the function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11699 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 12:27:04 +00:00
Jens Arnold
81f76f21d6 Fix some comments, and make code consistent with comments (CSMR2 was set to 1M instead of 64K).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11698 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 11:36:40 +00:00
Dave Chapman
7ccb505488 Sync with ipodlinux CVS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11697 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 10:08:36 +00:00
Peter D'Hoye
552ac5a724 Fix crash in browser when using very big fonts and show path option together. Solves FS#6397. Patch created by Mark Arigo and modified by me. Minor code ploicing while in there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11696 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 10:02:09 +00:00
Michael Sevakis
9b720239a3 iRiver: Clearing CRSEL bit when using default CPU frequency caused audio chip to run at half frequency when radio screen called cpu_idle_mode(true) and corresponding high end loss after kepress timeout. CRSEL was originally preserved when bypassing PLL. CRSEL shouldn't have any bearing on PSTCLK or SCLK when PLL is bypassed since the dividers are bypassed as well (except for the divX2 for SCLK).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11695 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 23:33:22 +00:00
Marianne Arnold
4ccbcc8071 Last part of iCatcher and UniCatcher updates... add Sansa versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11694 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 17:55:56 +00:00
Marianne Arnold
ed7cebd044 iCatcher/UniCatcher: fix small glitches in the wps's that had playlist position and total number of playlist entries at the right side
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11693 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 17:03:18 +00:00
Marianne Arnold
e52674d87f UniCatcher: (1) add dedicated greyscale bitmaps(2) 'rename' the respective wps file as it didn't follow the convention ('...x1.wps' instead of '...x2.wps') (3) remove the formerly used animation and volume bitmaps that were real greyscale because they are now superceeded by the new ones which only contain the four greys and are named consistently - should be safe now if one decides to tweak greyscale some more - by Ioannis Koutoulakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11692 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 16:54:01 +00:00
Marianne Arnold
5842731fdb forgot to commit those removed bmps, too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11691 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 16:34:20 +00:00
Marianne Arnold
da67b90959 iCatcher: (1) add dedicated greyscale bitmaps for H1x0 and Mini (2) 'rename' the respective wps files as they didn't follow the convention ('...x1.wps' instead of '...x2.wps') and adapt this in WPSLIST (3) remove the formerly used animation and volume bitmaps that were real greyscale because they are now superceeded by the new ones which only contain the four greys and are named consistently - should be safe now if one decides to tweak greyscale some more - by Ioannis Koutoulakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11690 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 16:26:09 +00:00
Magnus Holmgren
d00f1d599a Add "m4b" to the list of supported filename extensions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11689 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 13:55:14 +00:00
Martin Arver
e9163b4fb4 Add the GPL to the manual. Some changes to the license section and also to the GFDL to better fit in our manual (in style, not content)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11688 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 20:47:39 +00:00
Adam Boot
5931ab2e13 Minor corrections to FLAC seeking calculations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11687 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 20:13:58 +00:00
Michael Sevakis
a5ececcfef Oops, that'll just keep resetting the timeout to 20s every time sys_poweroff is called and won't add the 8s recording margin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11686 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 19:46:36 +00:00
Michael Sevakis
0d768a37f9 SWCODEC Recording: 1) Fix minor bug of not subtracting line aligment adjustment from buffer size. 2) Handle stop and pause better and let pcmrec thread lock the DMA as that could cause prerecording to get disabled internally 3) Make sure to snapshot DMA write index to ensure compiler doesn't perform multiple access when calculating available data (probably just paranoia on my part) 4) Handle USB connect in recording thread a little better by resetting hardware to defaults after closing 5) Make power managment stop recording properly when powering off (ie. no yield() from interrupt handler! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11685 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 19:34:26 +00:00
Nils Wallménius
5652b2528d Always use a black backgound while displaying images in jpegviewer, and use the usual foreground/background colors and backdrop in the jpegviewer menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11684 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 17:23:52 +00:00
Magnus Holmgren
3183aeabac AAC/ALAC: Fix display of ReplayGain values (e.g., in the ID3 Info screen).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11683 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 16:15:23 +00:00
Miika Pekkarinen
aec4bab6ee Small delay before cutting off power to allow all hardware (especially
eeprom chip) to flush.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11682 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 10:34:25 +00:00
Magnus Holmgren
de100c36cb AAC codec: accept M4B files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11681 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 09:24:31 +00:00
Magnus Holmgren
7aab5302ac Make the AAC (and ALAC) codec more flexible when dealing with the MP4 file structure. Should fix some podcasts that don't play.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11680 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 21:37:36 +00:00
Jens Arnold
b774bae5fd Coldfire targets: Fixed performance-hitting bug for unaligned transfers. Now unaligned transfers are less than 10% slower than aligned transfers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11679 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 18:44:45 +00:00
Jens Arnold
4c43d9422c Removed extraneous #ifdef.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11678 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 18:33:57 +00:00
Mark Arigo
8eaa685e1b Fix an errant #if effecting targets with MEM <= 8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11677 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 16:21:04 +00:00
Marcoen Hirschberg
998f1c57e2 put back the return types which got lost in the previous commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11676 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 13:48:50 +00:00
Marcoen Hirschberg
1b967f41df move some audio driver specific code to the correspoding files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11675 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 13:34:15 +00:00
Jonathan Gordon
3e24665c41 Fix settings not saving to disk correctly, (fixes FS#6408)
Stop playback.c requesting a rebuffer while not playing
Shutting down from inside the menu will now save settings to disk, and
entering the main menu will not force a setting save unless a setting
actually changes


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11674 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 12:11:57 +00:00
Dan Everton
761122dcff Fix for FS#6328. Simulator battery level now goes down in roughly 1% increments roughly every second.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11673 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 11:20:43 +00:00
Marcoen Hirschberg
edbd1cde47 first step in audio driver unification: renaming the functions to audio_* (missed this one)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11672 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 10:44:40 +00:00
Marcoen Hirschberg
6c2e1b824e first step in audio driver unification: renaming the functions to audio_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11671 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 10:36:20 +00:00
Marcoen Hirschberg
77d039bab8 first step in audio driver unification: renaming the functions to audio_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 10:24:59 +00:00
Miika Pekkarinen
46a608bf07 PLL was incorrectly initialized causing system to crash when ran from
ROM.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11669 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 10:02:06 +00:00
Michael Sevakis
51189b4cb4 Small change to PCM recording API for low latency effects. Latency can be as low as 14 samples from input to output including the FIFOs (ColdFire) but 16 is more reasonable an expectation if only tranferring one sample per interrupt (\!). May convert PCM playback to use the same method as it can still be used in the old manner with some slight mods but has the potential to enable new features since it is more flexible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11668 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 08:34:55 +00:00
Miika Pekkarinen
1ff7652adf And this too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11667 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:21:11 +00:00
Miika Pekkarinen
86d0d91b0c Forgot to commit this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11666 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:20:00 +00:00
Miika Pekkarinen
c5d57f0aae Removed the cpu boost tracking debug feature for now because of
different kind of problems. Better implementation can be done later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:01:48 +00:00
Marcoen Hirschberg
5f15f8f021 fix the analog clock on 'portrait' screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11664 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 10:13:14 +00:00
Marcoen Hirschberg
1775d4f438 add gigabeat button defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 10:09:07 +00:00
Marcoen Hirschberg
2c154219f6 add a RTC driver for the Samsung S3C2440 used in the Gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11662 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 09:35:16 +00:00
Michael Sevakis
81484e4b75 H1x0: Enable optical output to be switched on or off during playback and recording. Fixes FS#6414 - H120 opto out toggle freezes codec. Really DMA just needed a kickstart after setting the optical TXSRC if the peripheral requests were currently enabled (the method of detection).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11661 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 07:38:55 +00:00
Barry Wardell
82cdc6914d Recent fix "Prevent the click of death when connecting an ipod to usb." is useful for the H10 also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11660 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 01:22:05 +00:00
Jens Arnold
ef3e129b65 Much simpler implementation of large virtual sector support, not needing larger sector buffers and not touching file.c at all. secmult is simply used to normalize all sector counts to 512-byte physical sectors. * Moved MAX_SECTOR_SIZE definition to config-*.h, and enabled it for iPod Video only. MAX_SECTOR_SIZE now only enables checking for alternate disk layouts due to sector size (as iPod Video G5.5 is presented as having 2048-byte _physical_ sectors to the PC). Large virtual sector support in fat.c is always enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11659 a1c6a512-1295-4272-9138-f99709370657
2006-12-04 21:37:22 +00:00
Nils Wallménius
74369b4a7b Made virtual keyboard description a bit more general, added actions to the file browser controls and corrected some keys, minor tweaks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11658 a1c6a512-1295-4272-9138-f99709370657
2006-12-04 20:55:03 +00:00
Jonathan Gordon
148c553023 fix metronome sync button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11657 a1c6a512-1295-4272-9138-f99709370657
2006-12-04 01:04:14 +00:00