Commit graph

2901 commits

Author SHA1 Message Date
Peter D'Hoye
9529d5fd14 Stop mixing signed and unsigned when dealing with audio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8876 a1c6a512-1295-4272-9138-f99709370657
2006-03-01 21:27:05 +00:00
Jens Arnold
b4ada860b3 Allow building simulators on systems where errno is thread-local by using the system's implementation of errno.h for simulator builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8871 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 23:56:44 +00:00
Miika Pekkarinen
871575f0f0 Implement . and .. path in dircache to properly support moving files
to other directories without absolute destination path provided.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8866 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 11:41:35 +00:00
Dave Chapman
71ee68e978 iPod 5G: Correctly implement mute when setting volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8863 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 00:58:19 +00:00
Peter D'Hoye
55a7a5c060 Oops: clipping detection optimization broke pre-recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8861 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 19:23:26 +00:00
Dave Chapman
285079138b Patch #3060 from Andrew Scott - iPod mini button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 12:35:05 +00:00
Linus Nielsen Feltzing
0bdf0c6342 Slight optimization of the X5 LCD driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8856 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 08:48:12 +00:00
Linus Nielsen Feltzing
ef35080728 ATA power control on iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8855 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 08:47:18 +00:00
Peter D'Hoye
a6b913fdfb Store recorded peak values in short; this should fix an issue where clipping wasn't always detected. Also removed an obsolete function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8852 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 22:42:23 +00:00
Dave Chapman
a1e2a52e3e iPod 3G - small audio fixes, but it still isn't working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8850 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 20:29:29 +00:00
Dave Chapman
2f76763d73 iPod 3G - initial (completely untested) attempt at audio support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8847 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 15:59:46 +00:00
Dave Chapman
603f87fe3c Foreground/Background colour settings. Based on patch #3050 by Jonathan Gordon, extended my me. The principle of the patch is that the three sliders contain the native ranges (currently 0..31, 0..63, 0..31), and the equivalent RGB888 colour is displayed underneath. The config block (and global_settings struct) contain the native value for the fg/bg colours (either RGB565 or RGB565SWAPPED), but the text .cfg files contain the RGB888 value written as 6 hex digits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8840 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 02:48:05 +00:00
Peter D'Hoye
9ace16f87f use all recorded samples for peak metering and clipping detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8837 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 22:28:57 +00:00
Dave Chapman
ac115693da Ooops. Fix warning in sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8836 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 21:09:34 +00:00
Dave Chapman
fb4e384367 More iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 20:54:09 +00:00
Dave Chapman
6c2fafb98b Make pcm_playback.c compile for the iPod 3G - there is no playback implemented yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8833 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 19:02:55 +00:00
Marcoen Hirschberg
338e2bbb0c first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Linus Nielsen Feltzing
b902428180 Ooops. Forgot to remove some debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8830 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:40:55 +00:00
Linus Nielsen Feltzing
568ac3eb21 Button driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:06:25 +00:00
Marcoen Hirschberg
f16c1f341a prevent rockbox from using the wrong includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8827 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 13:48:52 +00:00
Linus Nielsen Feltzing
df25cd5376 ADC driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8812 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 16:45:53 +00:00
Linus Nielsen Feltzing
01ece88198 ADC driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8811 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 16:40:41 +00:00
Linus Nielsen Feltzing
8e8e9c3990 Include the correct source files for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8810 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:26:43 +00:00
Linus Nielsen Feltzing
4feb0fca80 PCF50606 driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8809 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:24:45 +00:00
Linus Nielsen Feltzing
072744b4f4 Power driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8808 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:24:04 +00:00
Linus Nielsen Feltzing
b528d0a879 LCD driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8807 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:22:08 +00:00
Linus Nielsen Feltzing
563012c503 Optimized the PLLCR write
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8806 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 14:23:23 +00:00
Linus Nielsen Feltzing
368418585c Make sure PLL is off when booting on Coldfire targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8805 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 13:48:12 +00:00
Thom Johansen
52774bcfbc Shave off one instruction in fiq handler!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8804 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 11:31:55 +00:00
Linus Nielsen Feltzing
c71900c02f The iAudio bootloader needs to have the startup code first in memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8802 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 10:40:14 +00:00
Thom Johansen
c85ad42c35 Didn't mean to commit this, revert.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8794 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 22:53:41 +00:00
Jens Arnold
c7ba2b518d Fix silly bug that made it crash on iPod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8791 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 22:33:25 +00:00
Jens Arnold
e6dac9130d Made LCD_RGBPACK() macro more efficient when used with variable arguments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8789 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 21:41:44 +00:00
Linus Nielsen Feltzing
6922e80c9e Some corrections for MCF5250
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8788 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 20:48:27 +00:00
Thom Johansen
374647f478 Fix stupid mistake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8787 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 19:34:42 +00:00
Thom Johansen
ff493e081f Commit correct file this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8786 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 19:03:20 +00:00
Thom Johansen
e94d262795 ARM optimised memset from Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8785 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 18:52:08 +00:00
Linus Nielsen Feltzing
2a2d346b08 Generic bitbang I2C driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8782 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 14:50:57 +00:00
Hristo Kovachev
b12bcecb29 Remove some unused/deprecated defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8777 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 11:48:58 +00:00
Jens Arnold
a13f847186 Optimised lcd_clear_display(), lcd_hline() and lcd_fillrect().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8774 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 01:28:19 +00:00
Jens Arnold
eb65f89f0e Added memset16() for filling memory regions with 16 bit values, needed for upcoming 16 bit LCD driver opts. ASM optimised for coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8773 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 01:20:45 +00:00
Jens Arnold
a875703e6e Slight optimisation for 1bit and 2bit (vp) LCD drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8772 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 00:20:28 +00:00
Linus Nielsen Feltzing
8850c61ee1 No X5 remote support just yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8769 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:35:06 +00:00
Linus Nielsen Feltzing
88c57383fb Not only H300 has a PCF50606
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8768 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:33:27 +00:00
Dave Chapman
d3bb5a11c4 Correct typo in comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8766 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 16:31:53 +00:00
Dave Chapman
8b51070f0f Forgot to add config file for iPod Mini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8765 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 16:17:15 +00:00
Dave Chapman
8b1297a0b6 Patch #1435744 from Andrew Scott - initial iPod Mini support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 15:01:25 +00:00
Dave Chapman
800023bc4e iPod 5G: Bug fixes in DAC initialisation - playback is now stereo...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8755 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 22:46:58 +00:00
Thom Johansen
ec93f4685c Correct the channel order in the ASM optimised fiq handler. Correct a
jump target.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8753 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 20:23:21 +00:00
Hristo Kovachev
7f6fe6aa35 Multiple remote support for iriver Hxxx stage 2: now button_read() returns correct buttons for each remote type.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8752 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 20:08:27 +00:00