Commit graph

29680 commits

Author SHA1 Message Date
Rafaël Carré
1afe28072a usb-drv-as3525v2: use correct input endpoint list size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31228 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 07:11:54 +00:00
Rafaël Carré
ff0ba04ff6 fix previous commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31227 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 06:32:48 +00:00
Rafaël Carré
3183010dfa AMSv2: enable USB
This will help debugging, and can be disabled for releases if needed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31226 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 06:30:44 +00:00
Rafaël Carré
5c81130b48 usb-drv-as3525v2: don't include ep0 twice in the IN ep list
simplify

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31225 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 06:29:56 +00:00
Rafaël Carré
89fa72f13f usb-s3c6400: merge DIEP* and DOEP* in a macro with an extra parameter
minor cosmetics / simplification

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31224 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 06:17:57 +00:00
Rafaël Carré
fdcfc8a77c s5l870x: use usb-s3c6400 defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31223 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 05:25:57 +00:00
Rafaël Carré
c1d789acdb usb-s3c6400x.c: use defines instead of hardcoded bitfields
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31222 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 05:13:22 +00:00
Rafaël Carré
9c31062f05 usb-drv-as3525v2.c: cosmetics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31221 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 05:13:10 +00:00
Rafaël Carré
bc943a06ba Move usb-s3c6400 register comments to usb-s3c6400.h
Use common defines in usb-s3c6400.c and usb-drv-as3525v2.c

No functional changes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31220 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 04:21:06 +00:00
Rafaël Carré
62e0cdca26 amsinfo: save files with .bin extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31219 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 03:01:16 +00:00
Michael Sevakis
184459fa54 Deal with a complication when transferring recording method from PP5024: since the FIFO POP is always read until empty, keep track of sample parity instead of always saving the first one in the FIFO upon entering the ISR or else the first of a duplicate that is also the last in the FIFO would get duplicated. Also, give top priority to audio interrupts in all cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31218 a1c6a512-1295-4272-9138-f99709370657
2011-12-12 20:12:22 +00:00
Alexander Levin
5c1e936592 Manual: Minor typesetting fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31217 a1c6a512-1295-4272-9138-f99709370657
2011-12-12 16:25:29 +00:00
Nick Peskett
685101b4ea Belatedly adding myself to COMMITTERS in alphabetical order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31216 a1c6a512-1295-4272-9138-f99709370657
2011-12-12 11:11:29 +00:00
Nick Peskett
c6abe997fe Belatedly adding myself to COMMITTERS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31215 a1c6a512-1295-4272-9138-f99709370657
2011-12-12 10:52:53 +00:00
Nick Peskett
5450219e11 Manual: Clarification of cuesheet file name and location
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31214 a1c6a512-1295-4272-9138-f99709370657
2011-12-12 10:44:23 +00:00
Bertrik Sikken
5515a7a880 RDA5802 tuner: use channel spacing of 100 kHz when possible (instead of always 50 kHz)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31213 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 17:38:49 +00:00
Alexander Levin
6119f4887d Manual: Add the description of the sleep timer related settings for non-rtc targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31212 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 16:32:47 +00:00
Andree Buschmann
2b3bb1e84b Roll back the latest mpc upstream sync as this introduced a regression. Fixes FS#12429.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31211 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 16:08:53 +00:00
Jonathan Gordon
489436385f Add talk support to the shortcuts menu.
'talkclip: <filename>' in the [shortcut] will cause the list to .talk the file specified.

(.talk files are the same filetype as gets talked by the file listing... hopefully we can add rbutil support to generate these)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31210 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 10:27:14 +00:00
Michael Sevakis
c2513580cb Closing recording before initializing it the first time isn't needed and may also interfere with playback. Remove audio_close_recording call upon first entering recording screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31209 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 00:53:46 +00:00
Michael Giacomelli
f7c731d463 FS#12439 by Nick Prekett. Fix mention of recording directory in the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31208 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 00:06:18 +00:00
Andree Buschmann
a6653a9bb6 Fix decoding of multichannel flac, refactor sample buffer handling and decorrelation (taken from ffmpeg sources) and add some flac details to the manual. Solves FS#12371.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31207 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 22:28:16 +00:00
Michael Sevakis
09722dd28d thread.c includes gcc_extensions.h and thread-XXX.c files are includes inside thread.c therefore do not require their own.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31206 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 20:47:59 +00:00
Thomas Jarosch
32d2cb3e8a Prepare new, unofficial pandora build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31205 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 19:25:21 +00:00
Thomas Jarosch
c0c5a13b18 Pandora port: Fix borked compile flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31204 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 19:23:51 +00:00
Thomas Jarosch
0124d7bf6e Silence gcc warning
"Missing newline at the end of file"

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31203 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 18:38:28 +00:00
Thomas Jarosch
752dd5cc49 Prepare new, unofficial maemo build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31202 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 18:34:07 +00:00
Bertrik Sikken
e6819b99ad FS#12373 - Patch for Spanish translation by Francisco Vila
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31201 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 13:21:46 +00:00
Bertrik Sikken
7cba6f631c FS#12394 - Update of the European Portuguese language by Gabriel Maia
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31200 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 13:11:49 +00:00
Bertrik Sikken
95280e0bd0 FS#12434 - Serbian translation update by Ivan Pesic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31199 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 12:10:25 +00:00
Bertrik Sikken
5dd1420bde Quick-fix for r31197
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31198 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 12:05:12 +00:00
Bertrik Sikken
ce4ec8033d FS#12437 - Updated Croatian translation by Ante Maretic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31197 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 11:57:16 +00:00
Bertrik Sikken
75f2e4551c AMS(v2): fix system_reboot by re-enabling the internal ROM clock just before rebooting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31196 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 11:28:00 +00:00
Bertrik Sikken
c9a8031695 mkamsboot: add support for sansa clip zip firmware version v1.01.18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31195 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 09:45:28 +00:00
Frank Gevaerts
818711589b Fix release notes link
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31194 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 22:38:27 +00:00
Rafaël Carré
07cfc30e50 lcd_blit_yuv(): don't use weak attribute when building for windows
current gcc/binutils don't support weak attribute correctly
see http://sourceware.org/bugzilla/show_bug.cgi?id=9687

fix FS#12427

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31193 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 20:56:40 +00:00
Boris Gjenero
11b661e45c Add labels for calculating RAM usage on tms320dm320 targets. Thanks to Rafaël Carré for pointing this out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31192 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 20:45:14 +00:00
Thomas Jarosch
33d3f05d77 Nokia N900: Increase the number of samples for the software mixer
This lowers the CPU usage back to normal by around 15%.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31191 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 20:04:41 +00:00
Thomas Jarosch
9d9d867bce Nokia N900: Implement pcm_play_lock() / pcm_play_unlock()
Shamelessly stolen from pcm-android.c

Thanks to Michael Sevakis for pointing out
that pcm_play_lock() is actually needed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31190 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 19:45:58 +00:00
Boris Gjenero
8906b3e659 Convert remaining __attribute__((noreturn)) to NORETURN_ATTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31189 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 16:13:03 +00:00
Boris Gjenero
59e71ee80c Introduce USED_ATTR wrapper for __attribute__((used)).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31188 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 15:33:59 +00:00
Alexander Levin
9653ae364c Manual: Some minor corrections to the 'Shortcuts' section
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31187 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 12:44:51 +00:00
Boris Gjenero
08d42520ab Add STORAGE_INIT_ATTR to some target-specific ATA functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31186 a1c6a512-1295-4272-9138-f99709370657
2011-12-09 02:07:24 +00:00
Dominik Riebeling
5ffd2f7598 Various adjustments for MSVC.
- MSVC uses different namings in some places. Adjust the sources via the
  preprocessor if build with MSVC.
- MSVC doesn't know about __func__, use name instead.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31185 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 21:59:13 +00:00
Michael Sevakis
d2c1ece304 Move the PCMREC_E/W_* defines back to pcm_record.h because they're part of the recording engine interface. Leave the low-level DMA error defines in pcm.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31184 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 21:45:53 +00:00
Michael Sevakis
5af1e2f531 Add a second boost condition to the recording PCM buffer to boost the CPU when 75% full or more. This is especially important for small memory when the 1-second condition frequency cannot be reached.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31183 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 21:30:37 +00:00
Boris Gjenero
e4dbcc414b FS#12418 - Merge prototypes from ata-target.h files into new file ata-driver.h. After this change:
- ata.h is for users of ata.c
- ata-driver.h is for functions implemented by target-specific code and used by ata.c
- ata-target.h is for target-specific defines


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31182 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 21:23:53 +00:00
Michael Sevakis
d09818d745 Fix sim errors in r31180.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31181 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 20:05:48 +00:00
Michael Sevakis
e42a3194de AS3525v1/v2:
Fix problems with volume of recorded material by converting 14-bit samples to
16-bit. Remove duplicate samples from recorded data and support proper
samplerate since ADC runs 1/2 the codec clock. Support monitoring mono on both
output channels by feeding data manually to I2SOUT under the right conditions.

DMA is no longer used for recording since frames must be processed as described
above but it does allow full-duplex audio.

Miscellaneous change includes a proper constant (HW_SAMPR_DEFAULT) to reset the
hardware samplerate when recording is closed. PP5024 and AS3525 have different
default recording rates (22kHz and 44kHz respectively) but both have half-speed
ADC.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31180 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 19:20:00 +00:00
Jonathan Gordon
2c7379757c Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31179 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 10:27:30 +00:00