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
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
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