rockbox/firmware/export
Barry Wardell df0dc2262e FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano).
* Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined.
* Fix bug in AIFF encoder header creation on little endian targets.
* Add recording screen keymaps for H10 and iPod.
* Move pcm_playback PP specific code to target tree.
* Add recording code to wmcodec drivers.
* Add pcm_record code.

Some problems still remain:
* Playback doesn't work after recording until Rockbox is restarted.
* Gain control not implemented.
* Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz.
* Line-in recording not tested on H10.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 01:52:21 +00:00
..
adc.h Target tree support for Iriver iFP. 2006-11-09 22:58:35 +00:00
ata.h Prevent the click of death when connecting an ipod to usb. 2006-11-29 12:17:26 +00:00
ata_idle_notify.h dont allow the ata callbacks to be run less than once every 30s unless 2006-11-26 09:53:42 +00:00
ata_mmc.h Ondio: Fix multivolume and hotswap for the old MMC clock circuit. 2005-05-22 00:42:00 +00:00
audio.h SWCODEC recording: More cleanup of stuff after queue additions and audio driver unification. 2006-12-17 11:03:19 +00:00
backlight.h Removed the settings #defines from backlight.h since they are now in the players' config files. 2006-11-10 01:30:09 +00:00
bidi.h waiting is over: initial unicode commit 2005-12-06 13:27:15 +00:00
bitswap.h Added header file for bitswap, and made the fliptable global for re-use 2004-09-26 09:25:59 +00:00
buffer.h mp3buf renamed to audiobuf 2005-04-05 11:33:58 +00:00
button.h 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. 2006-11-27 02:16:32 +00:00
config-e200.h Improved charger detection for Sansa 2006-12-10 23:12:59 +00:00
config-fmrecorder.h ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel 2006-10-25 10:17:57 +00:00
config-gigabeat.h ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel 2006-10-25 10:17:57 +00:00
config-h10.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
config-h10_5gb.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
config-h100.h H100 series: Adjusted gray scale balance and default contrast for more linear gray levels. 2006-11-21 17:14:07 +00:00
config-h120.h H100 series: Adjusted gray scale balance and default contrast for more linear gray levels. 2006-11-21 17:14:07 +00:00
config-h300.h 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. 2006-11-10 18:47:41 +00:00
config-iaudiox5.h 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. 2006-11-10 18:47:41 +00:00
config-ifp7xx.h Forgot to add new files for iFP move to target tree. 2006-11-10 07:43:36 +00:00
config-ipod3g.h Added macros controlling what goes to IRAM on different targets. 2006-11-09 21:59:27 +00:00
config-ipod4g.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
config-ipodcolor.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
config-ipodmini.h Added macros controlling what goes to IRAM on different targets. 2006-11-09 21:59:27 +00:00
config-ipodmini2g.h Added macros controlling what goes to IRAM on different targets. 2006-11-09 21:59:27 +00:00
config-ipodnano.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
config-ipodvideo.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
config-ondiofm.h ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel 2006-10-25 10:17:57 +00:00
config-ondiosp.h ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel 2006-10-25 10:17:57 +00:00
config-player.h ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel 2006-10-25 10:17:57 +00:00
config-recorder.h ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel 2006-10-25 10:17:57 +00:00
config-recorderv2.h ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel 2006-10-25 10:17:57 +00:00
config-tpj1022.h Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target. 2006-08-31 19:19:35 +00:00
config.h Add queue_send synchronous message sending. Right now only for SWCODEC. Actual usage to be added to playback and recording shortly in upcoming commits. 2006-12-16 18:35:12 +00:00
cpu.h Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately. 2006-11-10 20:26:01 +00:00
debug.h Support building tagcache db natively on PC using the core of the 2006-11-10 08:03:33 +00:00
disk.h preparations for hotswapping MMC 2005-01-28 21:32:16 +00:00
eeprom_24cxx.h eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom 2006-08-15 22:54:06 +00:00
eeprom_settings.h Bootloader support to search firmware also from flash. Bootloader <-> 2006-08-09 12:04:13 +00:00
enc_base.h 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. 2006-12-10 14:21:31 +00:00
fat.h 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. 2006-12-04 21:37:22 +00:00
fmradio.h Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with additional FM Recording support and my modifications 2006-08-28 22:38:41 +00:00
fmradio_i2c.h Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5. 2006-07-21 08:42:28 +00:00
font.h waiting is over: initial unicode commit 2005-12-06 13:27:15 +00:00
gdb_api.h Mapped iFP DRAM to 0xc00000 and enabled caching in this area. 2006-02-12 23:16:05 +00:00
general.h Forgot to use cvs add on a few new files in the fresh checkout I used. woops. 2006-11-06 18:18:05 +00:00
generic_i2c.h Generic bitbang I2C driver 2006-02-22 14:50:57 +00:00
hangul.h Add support for loadable vkeyboard layouts 2006-03-29 16:21:42 +00:00
hwcompat.h Renamed has_new_lcd() to is_new_player(), and got rid of the alias 2004-11-22 21:20:54 +00:00
i2c-coldfire.h Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5. 2006-07-21 08:42:28 +00:00
i2c-pp5002.h Renamed the ipod_i2c functions to the more appropriate pp_i2c 2006-10-27 11:24:23 +00:00
i2c-pp5020.h Renamed the ipod_i2c functions to the more appropriate pp_i2c 2006-10-27 11:24:23 +00:00
i2c.h
i2s.h Move I2S initialisation out of the Wolfson codec driver 2006-12-09 19:18:18 +00:00
id3.h Recording, SWCODEC: Put config value string in the wrong order. 2006-11-24 20:10:32 +00:00
isp1362.h H300: Rudimentary driver for the ISP1362 USB on-the-go controller. For now it just sends the chip to sleep, solving the poor battery runtime issue. 2006-06-16 17:34:18 +00:00
kernel.h Goofed some preprocessor stuff finalizing things. 2006-12-16 18:41:45 +00:00
lcd-player-charset.h Added bookmark icon for the Player/Studio 2004-07-14 12:21:59 +00:00
lcd-remote.h Backdrop support in the X5 remote LCD driver. Still needs to be wired to the UI and settings. 2006-11-26 14:26:08 +00:00
lcd.h Fix freeze/crash problems when scrolling very long strings (like filenames or tags). 2006-12-17 15:40:13 +00:00
led.h removed old statusbar and buttonbar code 2005-11-20 01:02:14 +00:00
logf.h Support building tagcache db natively on PC using the core of the 2006-11-10 08:03:33 +00:00
m5636.h Patch #5639 by Ulrich Pegelow, inits the M5636 USBOTG chip on the X5 to reduce the battery consumption. 2006-07-13 07:40:30 +00:00
mas.h Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively. 2005-08-29 21:15:27 +00:00
mcf5249.h H300: (1) Use DMA for LCD updates, with auto-aligned line reads. Speeds up LCD updates by ~ 75% at 11MHz and 45MHz. Only ~ 11% speedup at 124MHz due to (2). (2) Less aggressive LCD transfer timing at 124MHz. With the previous timing, slightly corrupted display contents was reported, and with DMA transfers at least 4 waitstates are needed to make updates work at all. * A table in system-iriver.c shows settings for all integer multiples of the base clock frequency (info for developers, not yet complete). 2006-11-02 20:50:50 +00:00
mcf5250.h Some corrections for MCF5250 2006-02-22 20:48:27 +00:00
mp3_playback.h Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively. 2005-08-29 21:15:27 +00:00
mp3data.h Archos recording/playback: (1) Xing header creation: * Now estimates the framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios. 2005-09-15 05:29:26 +00:00
mpeg.h iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc.. 2005-11-12 04:00:56 +00:00
panic.h Better definition & usage of the ATTRIBUTE_PRINTF macro 2005-02-28 09:48:35 +00:00
pcf50605.h Move all iPod targets into the target tree. FS#5890 2006-10-05 10:58:51 +00:00
pcf50606.h Moved pcf50606 stuff to target directory. 2006-10-25 23:24:07 +00:00
pcm_playback.h 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. 2006-12-06 08:34:55 +00:00
pcm_record.h 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. 2006-12-10 14:21:31 +00:00
pcm_sampr.h Forgot to use cvs add on a few new files in the fresh checkout I used. woops. 2006-11-06 18:18:05 +00:00
pnx0101.h Iriver iFP7xx sound support. 2006-08-12 21:03:23 +00:00
power.h H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection. 2006-11-13 23:21:54 +00:00
powermgmt.h 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. 2006-11-11 01:18:57 +00:00
pp5002.h Initial work for coprocessor support on iPods. FS#5755 2006-08-03 16:29:42 +00:00
pp5020.h Detect charger connected on H10. No need to sleep(HZ) when powering off. 2006-09-20 23:21:59 +00:00
pp5024.h added mostly dummy changes to allow building of a Sansa e200 bootloader 2006-08-01 22:28:14 +00:00
profile.h Fix profile builds 2006-08-24 13:10:20 +00:00
replaygain.h Add support for parsing binary data ID3 tags. Add support for parsing RVA2 ID3 tags for replaygain values instead of TXXX tags when playing files tagged with ID3v2.4. Patch by psyche78 (task #2937) 2006-07-20 10:35:20 +00:00
rolo.h
rtc.h Real Time Clock support in the WPS 2006-03-18 22:42:02 +00:00
s3c2440.h fix typo 2006-11-05 07:55:00 +00:00
serial.h Logf output on the serial port for h100 targets 2006-10-12 20:22:16 +00:00
sh7034.h SH1: Changed UIE() to use the same reset method as on coldfire, using the watchdog timer. Should be more reliable this way. Disabled LED handling and added reboot-with-on for Ondio. * All: #ifdef cleanup in panicf(), added reboot-with-on for Ondio. 2005-11-09 00:54:43 +00:00
sound.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
spdif.h H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection. 2006-11-13 23:21:54 +00:00
system.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
thread.h Add queue_send synchronous message sending. Right now only for SWCODEC. Actual usage to be added to playback and recording shortly in upcoming commits. 2006-12-16 18:35:12 +00:00
timer.h Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriate 2006-11-22 00:41:30 +00:00
tlv320.h put back the return types which got lost in the previous commit 2006-12-06 13:48:50 +00:00
tuner.h Implement region setting for the fm tuner. The region setting affects deemphasis, band limits and step size. Fixes FS#5929, FS#5928. 2006-10-05 12:40:13 +00:00
uda1380.h put back the return types which got lost in the previous commit 2006-12-06 13:48:50 +00:00
usb.h H300 bootloader USB mode 2005-12-06 12:12:29 +00:00
usb_serial.h Added non-blocking get/put_byte routines. 2006-02-03 23:28:53 +00:00
wm8731l.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
wm8758.h FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano). 2006-12-18 01:52:21 +00:00
wm8975.h move some audio driver specific code to the correspoding files 2006-12-06 13:34:15 +00:00
wmcodec.h Move I2S initialisation out of the Wolfson codec driver 2006-12-09 19:18:18 +00:00