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
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
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
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
Jens Arnold
c01a97442f
Removed unused variable, and fixed overflow in free/total calculation. There are still some suspicious things in here...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11656 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 23:22:30 +00:00
Jens Arnold
31ffd7b154
Completed target tree move of the ata driver code. Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11655 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 22:13:44 +00:00
Miika Pekkarinen
ec14b0f989
Fixed the warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11653 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 18:57:28 +00:00
Miika Pekkarinen
ae66c2b9ee
Add support (runtime detection) for 2048 bytes/sector filesystem.
...
Large sectors are enabled for iPod Video (including 5.5G) only. Might
still cause FS corruption (however, unlikely), so beware! Based on
FS#6169 by Robert Carboneau.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11651 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 18:12:19 +00:00
Michael Sevakis
7d00f97460
PCM: A few tiny changes. 1) Recording a) Flush all pending files if filename queue is full or else perpetual flushing of 1 will occur at low bitrates and short split times. b) #ifdef out currently unused bits and save little less than 1/2K 2) Cleanup some declarations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11623 a1c6a512-1295-4272-9138-f99709370657
2006-11-29 14:23:24 +00:00
Miika Pekkarinen
077ed4925e
Prevent the click of death when connecting an ipod to usb.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11622 a1c6a512-1295-4272-9138-f99709370657
2006-11-29 12:17:26 +00:00
Michael Sevakis
97d1ca5a23
SWCODEC: Audio-related threads must be free of further tasks before returning buffers. Cleanup declarations of related functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11618 a1c6a512-1295-4272-9138-f99709370657
2006-11-28 15:00:56 +00:00
Marcoen Hirschberg
9be9767a49
forgot to add the RTC drivers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11617 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 22:50:13 +00:00
Michael Sevakis
ce3ade1360
iRiver: Channel 2 shouldn't be monitored except for radio playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11616 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 21:52:49 +00:00
Marcoen Hirschberg
a45e632495
move rtc functions to seperate files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11614 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 09:44:56 +00:00
Jens Arnold
0e6dd7efcd
Moved archos button reading to target tree. * Cleanup of button.[ch]. * Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 02:16:32 +00:00
Jens Arnold
6adbbc0f2f
X5: Slightly lower threshold value to reliably disable constant adc reading when no button is pressed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11604 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 18:24:23 +00:00
Miika Pekkarinen
2c994b44ba
Fixed the errors for H300.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11603 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 14:50:15 +00:00
Miika Pekkarinen
f14f59f9f3
Data cache for the EEPROM driver to speed up reading/writing. This
...
will be my last iriver commit for a while due to a bricked H140.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11602 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 14:40:47 +00:00
Jens Arnold
11e2e565ca
Backdrop support in the X5 remote LCD driver. Still needs to be wired to the UI and settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11601 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 14:26:08 +00:00
Jonathan Gordon
4049d44b03
dont allow the ata callbacks to be run less than once every 30s unless
...
explicitly forced to.
The sleep_after param is only true in the Q_SLEEP event, so its uneeded,
so removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11599 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 09:53:42 +00:00
Daniel Ankers
844d22f277
Allow GPIO debug screen on Sansa. Also remove a warning from the NAND driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11593 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 15:57:07 +00:00
Daniel Ankers
8033628b46
Remove some development code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11591 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 13:31:53 +00:00
Daniel Ankers
0b556b8f7b
ATA callback support for Sansa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11590 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 13:04:50 +00:00
Daniel Ankers
64cccb0f80
Detect USB inserted on Sansa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11585 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 20:41:15 +00:00
Michael Sevakis
dda538a7f3
Recording, SWCODEC: Put config value string in the wrong order.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11584 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 20:10:32 +00:00
Michael Sevakis
0729b928ce
Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 19:49:04 +00:00
Linus Nielsen Feltzing
516d277958
The ADC GPIO init code for the H100 was accidentally put in the H300 driver when moving to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11582 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 11:06:52 +00:00
Michael Sevakis
16cb491cdd
iAudio/iRiver: Bootloader should not compile the audio-*.c files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11581 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 06:53:33 +00:00
Michael Sevakis
f27c266097
Just correct a comment and see if the build goes differently.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11578 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:46:24 +00:00
Michael Sevakis
ab1861a3c2
iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:21:15 +00:00
Michael Sevakis
fbac4f8444
Audio bugfixes. Should wait for voice codec to reload before returning buffer when stealing voice. Certain variables that get or may get used during an IRQ should be declared 'volatile'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11572 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 09:13:14 +00:00
Daniel Ankers
43e2c01065
Sansa doesn't use a Wolfson codec. Various other changes to allow Sansa to compile correctly with a normal build. Based on FS#6336 by Pavel Gnelitsa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11570 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:49:16 +00:00
Daniel Ankers
242cbd5cd7
Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriate
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11569 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:41:30 +00:00
Daniel Ankers
336cb6898e
Add several dummy functions to allow Sansa to build correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11568 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:30:24 +00:00
Daniel Ankers
e7b025ba10
Initial NAND driver for Sansa. This has had limited testing, and no testing on 6 or 8Gb models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11567 a1c6a512-1295-4272-9138-f99709370657
2006-11-21 22:55:39 +00:00
Michael Sevakis
4a82f81f79
H100 series: Adjusted gray scale balance and default contrast for more linear gray levels.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11564 a1c6a512-1295-4272-9138-f99709370657
2006-11-21 17:14:07 +00:00
Michael Sevakis
ef40b0ae43
Coldfire: Add DMA auto alignment to pcm recording.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11563 a1c6a512-1295-4272-9138-f99709370657
2006-11-21 15:58:39 +00:00
Jens Arnold
848e0b5a16
BMP loader: Remote LCD format support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11558 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 00:20:09 +00:00
Jonas Häggqvist
687328b777
Add a few missing files to the tarball
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11551 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 23:51:58 +00:00
Michael Sevakis
514f45bc1c
Changed #ifdef USE_IRAM to #ifdef IRAM_STEAL. Also want to check if results are the same again since another person also built a red one successfully.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11545 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 03:06:46 +00:00
Michael Sevakis
acc29d95be
SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 02:18:29 +00:00
Barry Wardell
4072848184
Fix FS#6322. Battery level gets updated again as it should.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11534 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 21:41:17 +00:00
Michael Sevakis
7bc41203af
Removed anachronisms introduced with low battery shutdown patch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11524 a1c6a512-1295-4272-9138-f99709370657
2006-11-14 02:46:59 +00:00
Michael Sevakis
cc50c149e9
H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11523 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 23:21:54 +00:00
Jens Arnold
0297873f6a
Backdrop support for greyscale targets. WPS backdrop is untested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 00:45:21 +00:00
Jens Arnold
8c3f0681b2
Get rid of ages-old interdependency between ata.c and mas.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11519 a1c6a512-1295-4272-9138-f99709370657
2006-11-12 14:17:49 +00:00
Jens Arnold
7b30e50812
Adjust scrollable lines to varying LCD sizes in the 2bit vertical packing LCD driver. Doesn't change anything for current targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11518 a1c6a512-1295-4272-9138-f99709370657
2006-11-12 13:25:03 +00:00
Jens Arnold
6bdf3ee6f2
Split 1 bit LCD code and move appropriate parts to target tree. Only archos code is tested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11517 a1c6a512-1295-4272-9138-f99709370657
2006-11-12 13:22:59 +00:00
Brandon Low
58e7547e89
Fix my warnings with explicit blocking on platforms w/o cpu_boost()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11511 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 05:53:32 +00:00
Brandon Low
8a82892e52
Thread API enhancements.
...
1) block_thread -> block_thread + block_thread_w_tmo -- this call was always used in distinct ways so having one call with a conditional was ugly.
2) enhance Slasheri's scheduler controlled boost concept. now any thread may trigger a boost which will last until that thread next sleeps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11509 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 05:33:24 +00:00
Barry Wardell
8d2711b7d2
Improved power management (FS#3001). Shutdown rockbox when the battery gets to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 01:18:57 +00:00
Jens Arnold
616945590d
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11505 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:36:39 +00:00
Jens Arnold
780f79e7a4
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Michael Sevakis
270cb0b681
Fix sim error(s) (as usual).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11503 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 19:03:02 +00:00
Michael Sevakis
58825f6e73
Coldfire targets: Got the rest of the coldfire code out of backlight.c. Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 18:47:41 +00:00
Miika Pekkarinen
0dd7ea2d71
Support building tagcache db natively on PC using the core of the
...
Rockbox tagcache database engine. Only host endian support at the
moment and no command line parameters. Mainly for developers for
debugging at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 08:03:33 +00:00
Tomasz Malesinski
29d8b917a8
Forgot to add new files for iFP move to target tree.
...
Fixed conifg-ifp7xx.h so that the simulator works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11494 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 07:43:36 +00:00
Jonathan Gordon
363d2ed773
clean up some artifacts left behind from the hxxx move to target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11490 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 01:54:47 +00:00
Michael Sevakis
00ce880da7
Removed the settings #defines from backlight.h since they are now in the players' config files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11489 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 01:30:09 +00:00
Michael Sevakis
cf59a4fc1d
H300/X5: Moved backlight brightness code to target tree. Created __backlight_set_brightness in backlight-(target).c. backlight_set_brightness range clamps and calls the backlight driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11488 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 01:25:52 +00:00
Michael Sevakis
f64f589d2e
H100/120: Split lcd driver into pixel format and device specific parts. Adjustment of contrast range to just a little less than white to a little more than black. Really only had to reset minimum.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11487 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 00:02:28 +00:00
Tomasz Malesinski
6e992abf36
Target tree support for Iriver iFP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11485 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 22:58:35 +00:00
Tomasz Malesinski
fedfd44825
Fixed H10 build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11484 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 22:33:24 +00:00
Tomasz Malesinski
5c54ba49d5
Added macros controlling what goes to IRAM on different targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11483 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 21:59:27 +00:00
Jens Arnold
2e383a430d
X5: Changed IRAM splitting between core and codecs/plugins. (a) Codecs benefit more from IRAM than the core. Further changes are required to actually make use of this. (b) This way, all core IRAM is DMA capable (wasn't the case before), so one less pitfall.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11482 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 21:15:49 +00:00
Jens Arnold
412bea9782
Ondio: Better activity monitoring for 'ata' idle notification.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11481 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 18:57:47 +00:00
Jens Arnold
ad70a9b2e6
Moved archos LCD aseembler code to target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11478 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 07:31:31 +00:00
Jonathan Gordon
fd0e640edd
Bah, Linus was right, trying to call the ata_idle callbacks on usb and
...
shutdown doesnt work. Threads with callbacks must handle these 2 events
instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11477 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 07:02:18 +00:00
Tomasz Malesinski
0a220b6da6
Remove unnecessary dummy pcm_init for PNX0101 (iFP).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11473 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 21:59:21 +00:00
Jens Arnold
7549960373
Bugfix: X5 simulator now simulates the RTC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11472 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 20:52:30 +00:00
Michael Sevakis
d7e55278f3
Use HAVE_FLASHED_ROCKBOX when target is flashable. Currenly only used by the H100 series.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11470 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 18:33:06 +00:00
Michael Sevakis
a32b33bf83
Forgot to cvs add lcd-as-h100.S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11469 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 16:22:30 +00:00
Michael Sevakis
e89a3940f9
More exodus to the target tree for ColdFire and a bonus sorting of firmware/SOURCES.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11468 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 16:13:04 +00:00
Marcoen Hirschberg
f9c8a891af
put back the PP5002 specific ATA code that got lost during the ipod target tree move
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11467 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 12:34:21 +00:00
Jens Arnold
5d67b4906d
Missed one hotswap ifdef...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11466 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 08:04:11 +00:00
Jens Arnold
af2d91f629
Fix idle monitoring to not freeze the Ondio, and add it in a more elegant way. Fixed hotswap ifdefing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11465 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 07:32:53 +00:00
Jonathan Gordon
92eff9d293
fixed once again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11464 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 03:19:53 +00:00
Jonathan Gordon
59da10a940
grr.. got lost in firmware/SOURCES
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11463 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 03:06:37 +00:00
Jonathan Gordon
d9f7ac24f4
fix booboo in ata.c (SYS_POWEROFF falling into SYS_USB_CONNECTED)
...
enable ata_idle callbacks in ata_mmc.c (calls the callbacks after 10s of
real inactivity)
fix builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11462 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 02:23:01 +00:00
Jonathan Gordon
f184152c05
* changes to ata.c - idle callbacks are called after 2 sec of real idle,
...
and shutdown and usb (it makes sense here). ata_sleep doesnt get broken
by callbacks.
* allow ata_sleep() at the end of buffering again
* config block uses ata_idle instead of delayed sector when saving
* remove delayed sector code from ata_mmc.c (idle callbacks are not yet
implemented for ata_mmc.c tho)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11461 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 01:55:26 +00:00
Jonathan Gordon
398c802710
dont spin up the disk to call the callbacks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11458 a1c6a512-1295-4272-9138-f99709370657
2006-11-07 13:14:52 +00:00
Jens Arnold
0f949e93e3
Archos recorders, Ondio FM: Set (unused) MAS SDO and S/PDIF out while recording the same way as for playback (SDO disabled, S/PDIF enabled on recorder V1 only).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11456 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 22:40:40 +00:00
Jens Arnold
128c3ee686
AIFF is not (yet) a supported format on HWCODEC targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11455 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 19:49:05 +00:00
Michael Sevakis
4aa01ed5f0
Fixed the errors on the sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11454 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:36:10 +00:00
Michael Sevakis
5efee7c94a
Forgot to use cvs add on a few new files in the fresh checkout I used. woops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11453 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:18:05 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Jonathan Gordon
0b22795e26
adds ata_idle_notify system which allows callbacks in apps/ to be called
...
when the hard disk is idle but spinning, and just before shutting down.
on SWCODEC targets with > 8MB RAM the playback engine will try to
refill the buffer if it is less than 75% full while the disk is spinning
(temporarily disabled on the nano)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11451 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 14:24:18 +00:00
Marcoen Hirschberg
0b9e266b1e
fix typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11435 a1c6a512-1295-4272-9138-f99709370657
2006-11-05 07:55:00 +00:00
Marcoen Hirschberg
bce255d98b
implement the gigabeat backlight driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11434 a1c6a512-1295-4272-9138-f99709370657
2006-11-05 07:54:08 +00:00
Jens Arnold
f8b1da2f7b
H300, X5: Faster lcd_yuv_blit() using EMAC. Speedup of the function itself at 124MHz: 10.5% on X5, 16.5% on H300. mpegplayer speedup 3..4%
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11429 a1c6a512-1295-4272-9138-f99709370657
2006-11-04 00:42:18 +00:00
Michael Sevakis
0fb67cd475
More tweak to ColdFire default exception handler. iRiver reboots on power press but x5 just shuts down. Haven't yet thought much about why or how to make it reboot on x5 if it's possible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11422 a1c6a512-1295-4272-9138-f99709370657
2006-11-03 10:19:04 +00:00